Draft Edit improvements

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Draft Edit improvements

Post by carlopav »

Back to stalke you, promise i'll stop tomorrow when I'm back to work. =)
having some fun with the Draft Edit tool and walls:
Senza-titolo-1.gif
Senza-titolo-1.gif (266.85 KiB) Viewed 3950 times
follow my experiments on BIM modelling for architecture design
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draft Edit improvements

Post by yorik »

Oh, cool! Did you modify it somehow?
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft Edit improvements

Post by carlopav »

yorik wrote: Tue Feb 05, 2019 12:32 am Oh, cool! Did you modify it somehow?
Yes, i added some more lines to the draft edit tool to make it edit walls base objects. At the moment just if they are single line sketches or every other kind of draft 2d objects, but I'd like to keep working on it...
And btw I'm not sure it's the right approach: I mean, is it preferred to edit the base object or the wall itself with the edit tool? I think the base object, but that's just my opinion.

I think i made also a pull request, but i'm not sure if it worked or not... have you noticed anything on your side?
follow my experiments on BIM modelling for architecture design
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft Edit improvements

Post by carlopav »

I was thinking also to the new 3points arc: i plan to implement an edit option that let you edit every arc object with end/mid/end mode or center/radius/angle/angle mode. That should help because the arc created could be always the same draft object, stored in the same way.
do you agree
follow my experiments on BIM modelling for architecture design
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft Edit improvements

Post by carlopav »

carlopav wrote: Tue Feb 05, 2019 7:35 am
yorik wrote: Tue Feb 05, 2019 12:32 am Oh, cool!
Too kind Yorik
yorik wrote: Tue Feb 05, 2019 12:32 am Did you modify it somehow?
Yes, i added some more lines to the draft edit tool to make it edit walls base objects. At the moment just if they are single line sketches or every other kind of draft 2d objects, but I'd like to keep working on it...
And btw I'm not sure it's the right approach: I mean, is it preferred to edit the base object or the wall itself with the edit tool? I think the base object, but that's just my opinion.

I think i made also a pull request, but i'm not sure if it worked or not... have you noticed anything on your side?
follow my experiments on BIM modelling for architecture design
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: Draft Edit improvements

Post by paullee »

Again! Glad to see there are more people contributing to Arch/BIM WB! :)
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draft Edit improvements

Post by yorik »

carlopav wrote: Tue Feb 05, 2019 7:35 am And btw I'm not sure it's the right approach: I mean, is it preferred to edit the base object or the wall itself with the edit tool? I think the base object, but that's just my opinion.
I think it's the right approach, the same I did with the Stretch tool: From the user point of view, you are just editing the wall. But internally, "programmatically", we are in fact editing the line underneath. But the user doesn't see it.
carlopav wrote: Tue Feb 05, 2019 7:35 am I think i made also a pull request, but i'm not sure if it worked or not... have you noticed anything on your side?
I don't see your pull request...
carlopav wrote: Tue Feb 05, 2019 7:42 am I was thinking also to the new 3points arc: i plan to implement an edit option that let you edit every arc object with end/mid/end mode or center/radius/angle/angle mode. That should help because the arc created could be always the same draft object, stored in the same way.
do you agree
Yes! I wasn't sure if the new 3-point arc should be stored as the same object as the existing draft arc or not. But indeed if you offer both editing modes, then the question is solved ;)
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft Edit improvements

Post by carlopav »

Great, i will work in this direction so.
yorik wrote: Wed Feb 06, 2019 12:54 pm I don't see your pull request...
I should have done something wrong... i'll try again tonight!
follow my experiments on BIM modelling for architecture design
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft Edit improvements

Post by carlopav »

yorik wrote: Wed Feb 06, 2019 12:54 pm I don't see your pull request...
I think i did again something wrong merging it without waiting... i had to stop at the pull request... right? ok i'll give a deeper look on how git works, sorry :? :?
follow my experiments on BIM modelling for architecture design
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Draft Edit improvements

Post by carlopav »

paullee wrote: Tue Feb 05, 2019 8:09 am Again! Glad to see there are more people contributing to Arch/BIM WB! :)
Thanks Paullee, just having some weekend fun for the moment =) but glad to have discovered this great community!
follow my experiments on BIM modelling for architecture design
Post Reply