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: Access the version name via a global variable or feature script
https://forum.onshape.com/discussion/3780/how-can-i-include-a-variable-value-in-a-sketch-text
And the follow up feature request
https://forum.onshape.com/discussion/3796/variable-values-displayed-in-text
Doesn't seem to have passed critical mass yet?
And the follow up feature request
https://forum.onshape.com/discussion/3796/variable-values-displayed-in-text
Doesn't seem to have passed critical mass yet?
Re: Stream Deck Icon Library for Onshape
Here here code that assigns key binds to features, i have a good majority on here. Although I didn't do any drawing commands, I plan on it, just not in need of it yet. Just make sure you use Tampermonkey ( https://www.tampermonkey.net
)
Userscript
https://cloud.team858.org/s/MbBXXBQNwgf6Hde
Re: Offset tool on Text?
What you can do, however, is first extrude the text, and then boolean-subtract it with an offset (and the "keep tools" option checked).
Re: Non-manifold geometry, how to solve?
In order to look at what you've done in stages just add
Then if you delete the previous return and add it back at line 318... then you'll see where Part 1 meets Part 6 in a knife edge that will fail (correctly) as non-manifold.
You'll therefore need to fix the extrude you are creating at line 247 to avoid this situation.
Image showing knife edge between Part 1 (highlighted) and Part 6
Hints:
- when you are debugging make sure to take advantage of the Debug function!
e.g. try this at line 254:
then edit your feature...
return;say at line 254, you'll see the initial thin extrude leaves some small gaps you may not have intended?
Then if you delete the previous return and add it back at line 318... then you'll see where Part 1 meets Part 6 in a knife edge that will fail (correctly) as non-manifold.
You'll therefore need to fix the extrude you are creating at line 247 to avoid this situation.
Image showing knife edge between Part 1 (highlighted) and Part 6
Hints:
- when you are debugging make sure to take advantage of the Debug function!
e.g. try this at line 254:
debug(context, qCreatedBy(id + "extrudeSample", EntityType.BODY), DebugColor.MAGENTA);
then edit your feature...
Re: Derive picking up wrong version of part.
It sounds like you might be deriving from an older version of the document. Ensure you're pointing to the latest version or specific version history of the slide part when using the 'derive' function.frank_paynter said:Document: 57mm twist-lock cap pill dispenser | Pill Dispenser (onshape.com)
I have designed a pill bottle dispenser assembly comprising three parts - a bottle locking ring, a body, and slide for dispensing various size pills. The 'body' and 'slide' are in one parts tab and the locking ring is in another. a screenshot of the entire assembly is shown in the attached image.
I want to use the slide part (shown with 'V3' engraving above) in another document, so I opened the new document, selected 'derive' and pointed it at the above source document. However, when I execute the derive and the part drops into the new document, it isn't the part I was looking for - it is a much earlier version (and yes, I know the 'V' numbers are misleading) with completely different dimensions and markings, as shown below:
I have tried to make this work by selecting the document from the menu, and I have also tried using the URL of the source document, and both methods result in the wrong slide version being copied over. Any idea what I'm doing wrong here?
Re: Chisel (New Custom Feature!) 🆕
Wow! Very creative feature script and kudos on the excellent render.
Re: Cant seem to delete a threaded hole
It might be easier to delete all the faces of the threaded hole (with heal option) and then recreate the hole.
S1mon
3
Chisel (New Custom Feature!) 🆕
Chisel (New Custom Feature!)
Chisel allows you to:
- Freehand chisel your part in real-time to give it that custom wood look.
Fun fact
Chisel and Draw are currently the only two features in Onshape that allow you to do real-time freehand geometry editing.
Render Studio
Do you spend hours everyday in Onshape? Consider automating your process with custom features and API.
CADSharp specializes in custom features and API.