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.
Scaling Sketch
dennis_tang
Member Posts: 5 ✭
I am looking to see if there is a way to scale a sketch. I copied a sketch but i would like to scale down in size. Is the a way in doing so?
1
Best Answer
-
john_mcclary Member, Developers Posts: 3,936 PROif you're copying the sketch and pasting onto the flat pattern, then you could skip the extrude/scale/re-create steps by just scaling your sketch on your flat pattern directly.
Do you have a better example or a shareable example, I may be missing something.
0
Answers
- Simple sketch might scale with sketch offset
- If there is only one dimension driving, sketch will scale automatically according to that
- By using variables you could create multiplier to change scale of all dimensions
- Ultimate solution is to create dummy part with original sketch shape, scale part, create another sketch and use/project part edges, then hide/remove body
create relationship for dimension by using variable feature. Kindly refer below video which will be helpful in dimension creation by using variable.
When you project a spline onto a new sketch what you get is a spline that cannot be deformed, only moved and scaled. At the same time (because you said to project it) you get constraints to lock it to the parent spline. As a result when you add dimensions to that sketch it knows it can't scale without violating those constraints. The way to get this to work, therefore, is to delete the constraints, one on the spline and one on each end point and then add a dimension and change it to scale the sketch.
Your particular example may not be as simple as that but here is an example I just threw together with three copies of splines, all scaled using dimensions and making a tapered loft. I seem to have made a start on a possibly uncomfortable bike saddle.
https://cad.onshape.com/documents/be8d97b063ffe48b53625dd3/w/9c70f222e1c6d18075d3ab79/e/5cbde84e4b955d34a2678a38
I'm not saying the need for a function to do this wouldn't be useful or that we will never have one, but it should be possible to follow the same steps manually that a dedicated command would do.
Note: doing this means the 'child' is no longer going to change if the 'parent' does, which would happen if the constraints were still there. However, this wouldn't be any different if we had a dedicated scale function. If you wanted to have scaled splines that are related to each other I would suggest sketching separate splines with distance dimensions pinning down the locations and variables specifying the dimensions that are used across the sketches. See the other element in that document for an example that has scaled splines. I did it by copying the original sketch onto the different planes.
https://cad.onshape.com/documents/be8d97b063ffe48b53625dd3/w/9c70f222e1c6d18075d3ab79/e/4a22c0c5541ee3ac6b4f52f4
TVP, Onshape R&D
I import dxf designs some times, and then I want to be able to scale the lines, without having to dimension all lines, (or editing the original file)
Work arround of extruding and then scaling works for me, but scaling the sketch seems cleaner.
Even grouping sketch entities would be great in my case. So I can make a rectangular box arround it, group it, so all internal relations are fixed, and then dimension an edge.
Seems like it would be easy to understand. Is an offset equivalent to a scale? It's too early in the morning, but I'm going to say yes.
As to the first paragraph of your post above ———
I imported a DXF
I scaled it by placing one dimension
I deleted that dimension
I placed another dimension and scaled it a second time
https://forum.onshape.com/discussion/7179/part-scaling-in-onshape
These sketches ususally have dimensions already in them, so I can't use the first work around at all either.
Twitter: @onshapetricks & @babart1977
Do you have a better example or a shareable example, I may be missing something.
Actually easier than what you’re saying
Meaning — I didn’t even have to draw a line
Then, I decided to change the scale of that imported dxf — I changed that distance from 7 to 5
And Alexander, I agree with you. The Onshape folks have done an amazing job — as I just don’t know how you could make it any easier
I'm still not satisfied with these work arounds- it means we cant have to either make a part from the sketch, scale, then make a sketch from the new part, or not have any dimensions at all on the sketch. why cant dimensions change with a scale command? obv the tool will have some limitations, but if i grab a couple sketch pieces, pick a point to scale around, and scale it, why cant the dimensioned parts simply have their dimensions change to reflect the new size? i can do this in every other cad program ive ever used, so after years of requests, has onshape gotten around to this yet?