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.
Using the Transform Function in FeatureSctipt
mario_acosta255
Member Posts: 9 EDU
Is there a way to use FeatureScript where you can select and Sketch and then have a function that transforms it bigger or smaller? Can you please provide me with a sample function or a similar solution provided in another forum?
Thank you in advance.
Thank you in advance.
0
Answers
All you need to do is use opTransform with a scaling transform in order to scale a sketch.
You will need to decide how to scale the sketch, ie about a point, uniformly vs non-uniformly etc.
Here is a sample:
https://cad.onshape.com/documents/44250afbeb494efd33079dfc/w/9fd1d6964469168e13e5a13a/e/141efda7344902ed80fe5238
Custom FeatureScript and Onshape Integrated Applications
This is what I am looking for right now
Thank you for this sample!