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: Not a Feature: Luminary Cloud Import Checkpoint
Thank you for your help. We'll try to address it asap
lana
Re: Anyone have an FS that can convert a decimal length to a (reduced) fractional equivalent
Looks like this was already solved a few times over, but here is a similar feature for this incase future users need something.
Decimal to Fraction
https://cad.onshape.com/documents/0ac50e48c2cd6af90faa62a8/w/256a5d01d7e4265ac46fed…
.
Re: Anyone have an FS that can convert a decimal length to a (reduced) fractional equivalent
@jnewth ,
Thanks for the in-depth look and report!
I did add a check for zero numerator and <1 values as I did notice the "1-0/1":
var theString;
if (whole==0)
{
theString=numerator~"/"~denominator;
}
else
{
if (numerator==0) {theString=whole;}
else{theString=whole~"-"~numerator~"/"~denominator;}
}
setVariable(context, definition.varName, theString);
My use-case realistically is only going use 1/16 or 1/32 range of precision so I haven't tested it away from there. I also expect that the input decimal values should actually match the fractional value so I'm not really trying to "find a fractional equivalent" but rather just format a decimal fraction value as a fraction if that makes sense…
I'll double check the behavior around "edge cases" or switch to the lookup table option as that does seem more "predictable"!
Re: Can robust complex surfaces be modelled.
I'm always searching for new surfacing training and tutorials. @EvanReese, and @GregBrown both have excellent Onshape material on their YouTube channels. @S1mon has stoked breakthrough moments for me. I've also channeled techniques from SolidWorks user Andrew Jackson on his YT channel.
This Onshape video is one of the better ones for surfacing in Onshape.
Of course a solid understanding of what makes good curves and surfaces is paramount. One source that I share with our new hires is the Alias Golden Rules (thanks S1mon!) Although different CAD package it does a great job outlining the fundamentals.
Flattered to hear you might borrow our multi-part studio method. I wish you success!
Re: Can robust complex surfaces be modelled.
@Nick_Holzem. I might borrow this Primary, Intermediate and final practice. Because I've seen designers jump to intermediate and the tool makers go, oh you have to change those edges etc. It in my eyes creates an unnecessary loop and brings a risk of the wrong file going to final. It's funny you mention this, as I was just yesterday talking with one of the designers about getting decisions made on intentionally incomplete designs. Don't polish a design that was bound to be rejected anyway. Better to do 10 stage 1 designs and get direction than it is to to show 3 final ready designs that are all rejected. There seems to be a culture of waterfall project management and perfect deliveries, whereas I guess you are working in a more agile approach at Trek.
Thanks for the feedback on the training. Advance surfacing excellency is something on the to do list. I was watching @EvanReese's video @Matt_Shields posted earlier, surfacing excellency is a deeper topic that had anticipated. I've heard many comments that packaging doesn't need A class surfacing. Which I disagree with.




