Inheriting sketch feature.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Inheriting sketch feature.
My sweet wish, don't feel obligated to answer.
It would be cool to be able to link/inherit the whole sketch to other.
So when I add circle to one sketch It will be added to another automatically.
Inherited sketch could be be read only when it comes to geometry changes, but its edges could be changed to construction lines and back.
It would be cool to be able to link/inherit the whole sketch to other.
So when I add circle to one sketch It will be added to another automatically.
Inherited sketch could be be read only when it comes to geometry changes, but its edges could be changed to construction lines and back.
Re: Inheriting sketch feature.
In Part Design, just clone the sketch.
In Part, use Draft clone to clone the sketch.
In Part, use Draft clone to clone the sketch.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Inheriting sketch feature.
But how can I draw on cloned sketch ?
Re: Inheriting sketch feature.
I think you're looking for https://wiki.freecadweb.org/Sketcher_CarbonCopy
Re: Inheriting sketch feature.
No carbon copy links only constraints and current geometry, if I add something new to the source sketch it will not appear in the copies.
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Inheriting sketch feature.
do you have a compelling use case example? I don't see myself using this often (if at all).
Re: Inheriting sketch feature.
This is my practical example from latest work.
I have got a spur gear system but it is multi layered, some gears are connected with a shafts, this is how the drive is carried between layers.
Those layers are made immovable by screws that are going through all those layers. (physically layer will be a plate made by laser-cut)
But some layers are smaller than the biggest one so I'm using it only as a reference by carbon copying and changing most of it by changing edges into construction lines and use this construction lines to build new layer. (so some edges are on top of master sketch edges)
Now the problem is that when I decide to add something to my master sketch I have to rebuild everything because it is just a carbon copy and not a clone.
I have got a spur gear system but it is multi layered, some gears are connected with a shafts, this is how the drive is carried between layers.
Those layers are made immovable by screws that are going through all those layers. (physically layer will be a plate made by laser-cut)
But some layers are smaller than the biggest one so I'm using it only as a reference by carbon copying and changing most of it by changing edges into construction lines and use this construction lines to build new layer. (so some edges are on top of master sketch edges)
Now the problem is that when I decide to add something to my master sketch I have to rebuild everything because it is just a carbon copy and not a clone.
Re: Inheriting sketch feature.
I think you need to change your approach to the design.
The typical way to do this, I assume you have these plates in separate Body objects.
So, by making a ShapeBinder from the source sketch in the active Body, then create a sketch and use external geometry references to what ever is needed from the ShapeBinder.
This way changes will be propagated to other Body objects as desired.
The typical way to do this, I assume you have these plates in separate Body objects.
So, by making a ShapeBinder from the source sketch in the active Body, then create a sketch and use external geometry references to what ever is needed from the ShapeBinder.
This way changes will be propagated to other Body objects as desired.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Inheriting sketch feature.
Shape binder on sketch is actually a good idea.
But as I can see creating a linked edge creates a kind of construction line that cannot be toggled to normal edge.
Is there a way to turn/copy/clone multiple (selected edges) into normal edges ?
Or I'm forced to draw my edges once again ?
But as I can see creating a linked edge creates a kind of construction line that cannot be toggled to normal edge.
Is there a way to turn/copy/clone multiple (selected edges) into normal edges ?
Or I'm forced to draw my edges once again ?
Re: Inheriting sketch feature.
yes.
If your sketch is so complicated that this is a tedious task, then your sketches need to be simplified and/or broken up, most likely.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."