-
How can I make a linear pattern number variable?
I have a sheet metal part that I can alter the length of using a configuration, along the part I have a set of holes that repeat a given distance set in the linear pattern. I would like to set a variable to change the number of instances but it doesn't seem possible to assign a variable to the number of instances as it's…
-
Configurations vs Configurable
In production having configurations for various Hardware is awesome. Washers/spacers/pins/shoulder screws/orings/bumpers/cable management/ ... name it. I can assign PNs and Descriptions for discrete items. However, in R&D I often just want to try various sizes of washers/pins/screws/... without having to go in and make a…
-
Grow/increase a dimension in a pattern?
I want to create a circular pattern of a rectangular extrusion feature. As the feature rotates, I want the length of the rectangle to increase. Is this possible? I've tried a sketch pattern where the length is an equation (1+#rotangle/300) and the starting angle of the rectangle is defined by the dimension #rotangle, but…
-
Is it possible to use design an element or structure with Onshape?
I need to back up some ideas with calculations in order to prove validity ( and relieve a few decision makers of liability). Onshape has so many powerful features, this seems like a natural fit. Thank you, Ken Harris
-
String Parameter won't reference a Text Config Variable
Hey Guys, I'm trying to use a custom feature to assign materials to parts. But I'm getting tripped up by the string parameter. I can't seem to configure the parameter using a text config variable? Presumably because "#" becomes part of a string and loses it's ability to signify another variable? Here is the annotation in…
-
Variable number of revolved features on cone
I'm trying to create ribs on a tilted cone, to form a tube connector. I want to be able to change the number of ribs, so I have created #rib_count. My problem is that I cannot get the ribs to change in number correctly. I tried with a linear pattern within a sketch, but such patterns cannot use variables (I have read that…
-
Can a specific configuration be activated by a variable in the Part studio ?
Somebody
knows a way to make a specific configuration (in P.S.) conditional to a value
in that P.S. EX: A
configuration where a part is suppressed, is activated by a specific value of
a dimension measured with “Measure distance” (MD).
-
Variable WORLD_ORIGIN not found Variable Z_DIRECTION not found
Why is the code broken?I do not get it const lineToRotateAround = line(WORLD_ORIGIN, Z_DIRECTION); //????????? const angleIncrement = (360 * degree) / MyCount; var transforms = []; var instanceNames = []; //definition.count -> MyCount for (var i = 1; i < MyCount; i += 1) // Iterar de 1 -> (definition.count - 1) porque ya…
-
Changing variable of part inside assembly
Hello all.I am new to OnShape, and trying to get my head around it. (I know parametric modelling from Fusion360).I have a part, called WoodStick, that has 3 dimentions, length width and height. I'm trying to add the part in my assembly, and modfiy those variables from there, but with no luck.In-Context doesn't create a…
-
Configurations as Variables
Can configurations be used as variables? For example, if I have a cabinet height of X, can I define a drawer as X/3?