variables
Discussion List
-
Linear pattern some circles and change their diameters from an array?
Is is possible to have a circle used on a sketch change it's diameter each time it's used in a linear pattern? as in, stepping from one circle to the next changing the size of the circle? #pin_number: 0 #pin_sizes: [3, 5, 6, 7, 8][#pin_number] and then use #pin_sizes[linear pattern increment] as the diameter for the…
-
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…
-
How to Manage One-off Computed Part Properties
Hello, This question has probably been asked before but I'm having trouble finding it. I'm looking for a general best-practice way to handle a part that has a custom property (or something similar) that applies to it and nothing else. I'll use the part I'm currently working on as an example, but I think this same situation…
-
Pattern of sketches containing text with increasing values
I am trying to create a circular pattern of (embossed) text on a surface, with each instance displaying a different value in increasing order. A simple example would be a clock with hours values increasing around the dial. My final project will have much more than 12 values but the dial will serve here as an illustration…
-
How to use a variable value in an assembly configuration?
I am using a Variable Studio inside my Assembly. I would like to store variable values in the Assembly Configuration, and to calculate with them. Example for a shelving configurator: Assembly configuration "high", #AmountOfShelves = 6, #AmountOfWashers=4x#AmountOfShelves Assembly configuration "low", #AmountOfShelves = 3,…
-
Batch Engraving Different Logos on the Same Part
Hi everyone, I’m working on a project where I need to engrave the same box divider part with multiple different logos. The goal is to create identical parts, each with a different logo applied. All the logos have the same bounding dimensions, and their placement on the part will be consistent. Is there a way to automate…
-
Converting Variable Type (Angle to a Number)
New to Onshape and was wondering if there's a way to convert an Angle variable type to a Number? Trying to circular pattern and calculate the number of instances based on the angle variable but it does not like, so is there a way to either convert it or somehow allow me to do some math on it. If I convert the angle to a…
-
Configuration Variables MisMatch
I've ben struggling with some configuration properties. With all of the tech out there I still cant figure out what I've done wrong. I have set a variable property called "Label" that I'd like to assign to each of my configurations. However, there is a mismatch between what I've set vs what is shown. When I select the…