Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Derived Sketches
andrew_troup
Member, Mentor Posts: 1,584 ✭✭✭✭✭
I was excited to see this, and will be even more so when I find out how to:
1) Position the derived sketch on arrival
2) Derive a sketch as a way of reusing it (as a "live copy") within the same part studio it originated from
1) Position the derived sketch on arrival
2) Derive a sketch as a way of reusing it (as a "live copy") within the same part studio it originated from
Tagged:
4
Comments
Twitter: @onshapetricks & @babart1977
But Point 1 remains a real stumbling block. Somehow I had deluded myself that we could use "Transform" to move a derived sketch into position, (which would admittedly be unwieldy -- and sometimes unworkable, relying as it does on having dimensional info which may lie in the future) but I now realise this currently only moves parts, not sketches or geometry.
Have I missed something? Is there currently any viable way to reposition Derived Sketch geometry? If not, are there any plans in that direction?
It doesn't require to position the derived sketch on arrival but part can be transformed anywhere. I am not sure if this can be a standard method since derived sketch is still in shown condition and presently functionality of hiding it is missing.
Thanks for that. Nicely explained!
However the sort of usage case I'm thinking of is where I have a number of locations on a part where I want to position copies of a particular sketch in order to perform various operations, and I want those copies to remain driven from a single 'master'.
Imagine a hydraulic manifold with a number of faces (on different sides, and maybe even at odd angles) where valves are bolted, each valve with a complicated pattern of ports which is shared between some or all valves. But I don't have any need or desire to model the valves, because I'm a manifold builder.
Ideally I want to be able to attach those sketches to faces or planes, and constrain points and entities of the sketch to vertices, edges, or elements from other sketches. So even "Transform Sketch" would barely scratch the itch.
It fleetingly occurred to me that one workaround for the moment would be to extrude that master sketch (provided the geometry was suitable) to create a dummy part, which could then be used like a cardboard template in real life, attaching it to various elements of the actual part and "Use/Project"ing the necessary entities from edges of the template.
Then I woke up ... we can't do that, because Part Studios do not support moving the part in such complex and interactive ways (only "Transform" is currently available, AFAIK)
and Assemblies do not permit (nor, I reckon, should they) the creation of "in-context" features.
To make sure I understand your request correctly: you want to use the 'master' sketch as a template, where each instance of its placement would be 'configured' by additional constraints ( controlling sketch geometry position, but also possibly changing the geometry). Is this so? Can you think of any other features/objects you might want to use in similar manner?
It would be a great help, if you could share a picture/document with a typical example of sketch you'd expect to use and ways in which it'll be modified.
simply to position them with reference to existing geometry, either solid or sketch.
Internal geometry of derived sketches, I propose, should remain identical with the master from which each sketch was derived. Otherwise confusion and complexity would overwhelm the utility.
ON EDIT:
Positioning would typically involve:
a) choosing a plane or face for the derived sketch, then
b) dimensioning from a point in the derived sketch to a sketch point or vertex on the model, to anchor the sketch position linearly, then
c) dimensioning from a line in the derived sketch to a sketch line or solid edge to orient the sketch angularly
---------------------
You ask which "Features/objects you might want to use in similar manner?" :
I'm seeking to use such derived sketches for any of the usual purposes a sketch serves: they might be the basis for Extrude/Add, as in the instance of cooling fins at a number of locations on a motor or gearbox or heat sink. In some places the fins might travel around corners, in which case the same sketch could provide the profile for a Sweep. In other cases, a revolve or loft.
Or derived sketches might be the basis for Extrude/Remove, say for producing standardised hole patterns as in the manifold example mentioned and shown here, but not necessarily at regular spacings, or on orthogonal or regularly arranged faces.
Thank you for clarification.
Further edits in bold
Forum software is playing up again (sigh) so I lost the artful further edits to my previous post:
Basically the further edits involved adding the words "or constraining" after the word "dimensioning" in my points b) and c)
Apart from the need to reference the component multiple times in the main part studio, there's also a reason I want to create the component in its own part studio - this is a base component I keep modifying from time to time, and if I put everything in a single part studio editing would become so slow and the features history for everything is just too long and very hard to work with.
Did I miss anything? Is there any other way to achieve what I want to do?
I am already using basic sketches with major mesurements and shapes that I use them on all part studios as derived, then I constrain those basic sketches to the part sketches.
So now I can change dimensions or other properties on the basic sketches and all parts modify automaticaly.
I am still learnig how to master it, as it is sightly complicated...
It is quite impresive to see how the software modifies over a dozen parts automaticaly just because a mesurement is changed on the basic Sketch
Mind blowing in any case.
The only problem I see now is that the derived sketches can not be hidden.
i am currently making electronic parts models and want to include a hole pattern sketch to go with it. i can derive the sketch into bit but then have to "use" the derive in my sketch, then translate all the components as one (as they lost all their constraints so any modification messes the whole thing up and any construction lines become solid lines. bleh.) i have to hope i don't miss any of the sketch pieces and have to manually move it where i like. then i can extrude-remove against it.
a cumbersome process when it would be so much easier to import to a surface or current sketch and dimension over and up (maybe a rotate) and be done.