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.
konstantin_shiriazdanov ✭✭✭✭✭
Reactions
-
Re: Featurescript: passing by reference.
For case like that i would propose to make associated data structures - iterate through original array and add array items to the map structure with the fields which contain the item itself, and ite… (View Post)2 -
Re: Featurescript: passing by reference.
then you could also try to change array item by iterator: function clear(x) { for (i=0; i < size(x); i+=1) { if (x[i] is array) x[i] = clear(x[i]); else x[i] = 0;<br> } return x;<br>} (View Post)1 -
Re: Featurescript: passing by reference.
arrays are "immutable" you should create a copy of array function clear(x) { var xCleared = []; for (var y in x) { if (y is array) xCleared = append(xCleared, clear(y)); else xCleared = app… (View Post)1 -
Re: Transform Help Request
the general idea is if you need some additional transform (the moovement of the tool body) you can make it before the main transform and the resulting transform would be a composition of 2, in OS it … (View Post)1 -
Re: How do you create a flat pattern of a helical screw flight
Helix is also non developable but I would did what @john_mcclary showed, assuming helical bounds transform into concentric circles of the corresponding length and linear edges transform into radial l… (View Post)2