-
How to read in specific variables from a CSV based on user inputs
Howdy Folks, I am trying to scan the first two columns of rows in a CSV using two numeric user inputs as the search key and find a match. Then, return the remaining two column values as variables required for creating a hub on a sprocket. Every simplification/variation of the code that I have tried returns the same…
-
TableData Reading First Element as String
I'm writing a feature to read in a CSV of airfoil data points and plot them on a plane. When reading my CSV the import appears to be formatting the first element of the file as a sting. I have looked at the file, it's not formatted that way in excel or .txt editors. It seems to be local to this. Generically my code is:…
-
Can't get pin to follow slot correctly at all
Hey everyone, I've been working on a project where an inside chamber with a pin follows a slot on an outside chamber such that when you twist the inside chamber, it follows the path on the outside chamber and achieves linear motion. However, I haven't been able to get this to animate properly at all. I've tried all sorts…
-
Is it possible to have driven variables?
Is it possible to have a variable that is only driven by a dimension, for example in the polygon sketch entity it doesnt appear to be possible to make the number of sides driven by a variable, is there a way to make a variable be driven by the number of sides instead? This isn't a use case I'm considering, more of a way to…
-
Novice user needs help with Loft
I am trying to great a rudder shape using loft. Being a novice OnShape User I looked for a similar design to replicated the process. The first link is a similar design copied. The second is my attempt. The loft fails with left and right Guides selected. Selecting one guide works for that edge resulting in a misshaped…
-
Variable Section Body FS Help
Hi, I am working with the Variable Section Body FS to try and create a serpentine flexure hinge that has a variable width. I am currently running into issues with keeping the section centered around the path line. Does anyone have experience utilizing this feature script and can tell me what I am doing wrong or whether…
-
How to create differently sized instances from a generic part?
Newbie question. Tried to make a generic part with variables for the main dimensions. Then I realised that when I change the variables in the part definition, all instances, even older references change. Thinking some more, that is of course the way it should work.…
-
receiving error message when extruding and I don't understand what it is trying to tell me,
receiving error message when extruding and I don't understand what it is trying to tell me, in other words, I can't figure out what needs changing to fix the issue. The error message is "Boolean operation failed to return a part". when I extrude as new, the new part creates successfully. when I try to add the new part to…
-
Is there a Knurling featurescript available? (like Thread Creator)
Hello All, I am looking for a featurescript which creates knurling on my parts. I am looking for something that takes a cylindrical face and cuts the pattern into the solid body. Normally, I would use cosmetic knurl, but this will be 3D printed so I need geometry to be modified. I am specifically looking to make a…
-
Project to Surface
I've used the search function in the hope of finding an answer, but without any luck. So, can I project a 2-D sketch onto an underlying (curved) surface to provide a 3-D 'path'? I'm trying to project sketch 5 in this open document onto the curved surface of Part 1 (…
-
Is there a way to change values of variables depending on an Enum selection?
I am relatively new to custom FeatureScripts and I am trying to create a list of variables. I would like the value of those variables to change depending on what choice I have made in the dropdown menu. I want the choices inside the blue bracket to change the value of those inside of the grey bracket.
-
Max workable file size for importing mesh into OS
Hi all I'm rebuilding a large vintage aero engine and will be getting some parts scanned to import into OS then regenerate as onshape models. The largest is a 1m long, 0.12m diameter hollow trunk with four outlets, (2 at each end). It has compound curves at the outlets and it quite an elegant piece. Another is a large…
-
After Importing a image into onshape can you extrude or remove material?
I have been trying to extrude a logo that i imported onto a part. Is this possible?
-
how to assign a variable to control number of sides of a polygon?
I want to assign a variable to control number of sides of a polygon. But it won't accept the input.
-
How to blend tube intersection
So i've recently got myself an Ender 3 and I though it'd be a good exercise to try and replace a connector used for a small marquee. Here's what i've got so far https://cad.onshape.com/documents/b4a5f33f86870770968039da/w/090cf0dd1cb96a312af51725/e/5a48876a1a62859f23113984 I'm near ready to print off a sample and see how…