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.
Best Of
Re: Adding Configuration to BOM Table
Thank you, everyone!
I was able to achieve this by utilizing three custom features to bring the configurable variable value into the Name property. This allows anyone reviewing the BOM to easily identify different profile sizes without the need for additional drawings.
Thank you @MichaelPascoe for the support!
Pattabi
Re: Adding Configuration to BOM Table
.
Shared! Add to string
.
Joining strings (text) within the part studio:
For anyone else needing to add to strings within the part studio. You don't actually need a custom feature for this:
You can join strings together with the tilde symbol (~) like this directly within an input field: "myPrefix_" ~ "OriginalString" ~ "_Suffix"
This concatenation of strings will result in this: "myPrefix_OriginalString_Suffix"
You can do this with variables if the variable is a string: #myVariable1 ~ "_" ~ #myVariable2
Also you can convert numbers and values with units to string like this: toString(#myVariable1) ~ toString(#myVariable2)
.
Re: Adding Configuration to BOM Table
I wish there were a tiny button for "Convert to expression" this way more people would know about it. Or perhaps it would auto convert to expression if it reads a # and then theres instead a right click option for "convert to text"
Re: Adding Configuration to BOM Table
@Pattabi_Kakumanu You will probably want the Variable to String feature if you are trying to put a measurement into string format. It's a pain to try to round and convert values with units when using in-line featureScript. Since Onshape uses meters behind the scenes, if you try to do toString(38.8 inches) it will turn that into something like " 0.985438438541864354 meters".
Variable to String - Feature: This will take a value with units and convert it to a readable string. Example: 0.985438438541864354 meters to "38.8 in"
Really useful when turning a measured value variable into a string.
https://cad.onshape.com/documents/19dacc01596e7c326bbfb137/w/0567dd7ffac5327836c9bb93/e/cd2c8c665d8a4b00ab3…
Re: Does anyone know what additional constraints I need to make this bezier g3 continuous with this arc?
If you are trying to make a transition between arcs or an arc and a line, or two lines, it's possible to make a fully parametric G3 Bézier with Onshape's sketcher. The third derivative of an arc is zero since they are constant curvature. Lines, of course, have no curvature.
The trick with arcs is that you need to add some construction lines and constraints to get the right relationships with the control points. You also need your Bézier curve to be degree-7 to have enough control to be G3 on both ends.
In this example, I made a transition in sketcher between two arcs. You can look at the sketch in the document or the GIF below to see some of the important constraints that are added beyond the G2 (curvature) constraints at each end. The arcs are fully constrained, and the first control polygon legs at each of the blend are dimensioned (in this case they are both set to 5). The middle 3 legs are set to be equal to one another.
G3 to a line just requires that the first 3 control polygon lines are coincident or parallel to the line.
S1mon
Re: Adding Configuration to BOM Table
The Part Name feature is a bit dated now that "convert to expression" is a thing, and now that you can drag out the feature UI to make it wide so you can have a long expression in there to concatenate the strings easily. I think Michael's Set Property feature is a great way to go here.
will you be adding single stroke fonts to cam text?
i need to engrace my milling parts but cannot,
i will need to acquire other software ,
Re: How to visualize cut features
I realized that with a little modification I could make this trick even more powerful: I can show cross sections across different planes very easily. For my feature this is super useful, I used to do this by using section analysis. This little toggle is so much easier to use!








