-
Hey FeatureScripters - What would you like to see in an advanced FeatureScript tutorial?
Hey everyone, I'm Josh, one of the Part Studio developers. Recently I decided the community could use a more advanced tutorial to cover some of the trickier topics in FeatureScript: Queries, ids, transient ids, robust queries, tracking queries, etc. We could also cover common problems, gotchas, tips n' tricks, that sort of…
-
3D Fibonacci Golden Ratio Spiral
Hello Community, i'm new to Onshape, i'm a 3Dsmax user but it need accuracy and differents tools for my project so i will give a try to onshape. I love it so far. My challenge has to do with the Maths, im asking Chatgpt but i still have difficulties to translate the answer to my project. Here i an image of what i have done…
-
Can I make my feature error out if the tools and targets do not intersect for a boolean subtract?
I basically want this message to be generated as well as my feature to error out if the boolean subtract does not create a change in geometry. Here is what I have so far, but I am not sure if this is the right way to go about it. The standard boolean feature will show this error message but still complete (no red in the…
-
how can i bend object?
how can i bend blue object to match black pillar please? i am complete beginner ^^
-
Want to do gradual curves on side steps matching with top surface . Can you help me to do this ?
https://cad.onshape.com/documents/792100c942101b6c7c46d48a/w/d844d9667afc5411a44b84d5/e/8e8b5a15d3dff1499fee82fe?renderMode=0&uiState=677628c449aa03480361671a
-
Extrude from a crossection
Hi, New to this forum and I hope someone can help. I have a design of an enclosure for electronics. It consist of a bottom part and a lid. The lid has a flange to fit onto the bottom part, side walls and a top cover. I need to make the lid taller to house some more components.. I could create a plane with the cross-section…
-
Sketch Could not be solved - simple rectangles and lines.
Hello all, I`m still very much learning but my normally very simple drawings always tend to work out ok. However, I have hit and error and have tried to redraw this in a few different ways with the same issue. It is essentially a simple container I want to use to store my taps and dies but it is just for fun and really…
-
Tracing boundary of imported part
Hi. I want to trace a more perfect boundary of the interior of this design, part 8 in the parts list. https://cad.onshape.com/documents/c4f12b8b1bb3910a20df264f/w/940f45ea321dd1563b378096/e/dd0edd20019d314505b539a9 To look like this: But keep a constant distance from the edge. I want to use this as a lid to a box. I've…
-
Fixing Broken Part Through FeatureScript
I was finishing up a model cable protector earlier today, when a new fillet I created caused the Part Studio to completely fail. I can't open or edit the Part Studio. If I could just delete the last fillet I made I would be set, but I can't. I was wondering if there is a way for me to recover my work, potentially by taking…
-
Shed assembly with configurable walls (frames) - how to create a BOM with lengths
Imagine: A shed has four walls with timber frames. We need to create a BOM with all timber (90x45mm section) x length(!) The obvious design is creating the walls using centre lines and creating frames in a Part Studio. (Yes, we also created models based on mating individual parts of timber, but this is a huge amount of…
-
wheel for a given road feature script
I'm trying to design a 3d printable bearing and i had the idea to make to make the rollers herring bone gears to avoid having to use a roller cage. gears however have some sliding between the gear teeth so for the rollers i want to something similar to what's shown in this video. https://www.youtube.com/watch?v=ZWWgGk9JU0E…
-
Creating "A Slot Feature " using Feature Script
I am currently working through a Feature Script Beginners Tutorial - Creating "A Slot Feature , designed for joining two laser-cut parts. Please see attached, the link to the Feature Script studio that I started; that has errors flagged on the 5 TH and 22nd line. Can you assist me on the corrections? Your assistance is…
-
Is there a reverse qCreatedBy? like qCreator?
Is there a reverse qCreatedBy? like qCreator? I want to try to get the name of the feature that created a selected mate connector, then make a copy and give it the same name.
-
I want to create an array of holes in a spiral pattern along the surface of a cylinder.
Is there a way to do that?
-
how to get/use the name of a part to name another Mate Connector in FS? (edited, used to say "part")
I get an error when I use getProperty and then setProperty, but the query field can see the name. how can I capture and use it during an FS execution?
-
How to set a constraint on an assembly based on faces and not on lengths?
Context: https://cad.onshape.com/documents/c326457a6788bf73c38df747/w/5b33f7580add485dd268c063/e/bdadea73543e9531a5d11577?renderMode=0&uiState=677027d6b011fa6254f87917 The battery organizer (the larger piece) has a lid that fits in. I tried to make an assembly to check if the contact is good enough (due to the chamfers I…
-
How to use Move boundary in FeatureScript - opMoveBoundary()
I was having trouble finding how to use the Move boundary within FeatureScript. There is no OpMoveBoundary or OpExtend like you would expect. Here is how you can do it: Import the extend FS from Onshapes STD at the start of your project. // For move boundary
import(path :…
-
How to wrap on a non-circular curve?
I want to create a specific texture on the following curve curved surface. When I try using a wrap it lets me pick the circular surface next to it, but not this one. Is it possible to project onto this sort of curve?
-
Loft between circle and a shape?
I have spent a long time trying to work out how to do a loft between 2 simple-ish shapes and cannot get it to work the way I wanrt. I want the loft between the 2 shapes below. The diameter of the top shape matches that of the bottom so want that to follow straight up, but I want the other half to curve in and match. All I…
-
Mounting Boss FeatureScript
Hello all, I've finally finished up this FeatureScript and thought some others may find it useful. It's for making different types of mounting bosses in plastic parts. These are used for adding screws to plastic enclosures, mounting circuit boards, etc... The script was based off of the Hardware Boss script by @NeilCooke.…
-
Round values to whole numbers in text
So I'm building a project that I want to be fully scalable for the user, and want to display the final output size on a flat surface. I got this working by making a textbox and adding ""X" ~ toString(#BED_X/mm) ~ "mm"" and this displays the variable as it should. However, if I scale the project by anything other than 50mm…
-
Is it possible to setup a gear mates and relation for a counter mechansim?
I would like to setup a gear relation for a counter mechanism. The simplest one is shown in this video: https://youtu.be/rjWfIiaOFR4?t=40. I tried but so far have not figured it out. Those who would like to try this problem can search for a two disks counter mechanism, a design that used two of these gear arrangements.…
-
Extruding a half-round shape
Hello community, I'm new to OnShape and not even that experienced of a modeler to begin with. I'm looking for help on how to either extrude in a curved shape, or extrude around a curved shape. Specifically, I'm working on a Gridfinity AA battery tray where the batteries lay flat. I'd like each battery to be in it's own…
-
How to edit a three-point curve that is part of a part
I have a 3D part whose sides are an arc that is part of a circle. They were drawn by setting the two end points and then completing the shape, via the 3-point arc tool. Now I need to change the curvature of the arc but keep the endpoints (increase the diameter of the underlying circle). How do I do that? I tried the Edit…
-
I want to split a A1 template into 2 A3 and 4 A4 templates
Hello for a project i need to split the A1 drawing sheet into the sections mentioned above but when i try to place the lines which should outline these sections I cant edit them. Is there any way to make these lines or A3/4 templates?
-
How to put a sketch on the face of a shell?
This is probably a simple thing but I'm just not seeing it… If you create a square then extrude it down (not the default up) to a cube then shell it out to remove one side, all is easy peasy. Now try to place a sketch on the inner wall off the shell and the inner shell wall is not selectable because when you try to select…
-
Public files for Assembly Tutorial
I've been trying to do the assembly tutorial exercises, but when I try to access the Public Documents Exercise: Clamp and Exercise: Universal Joint, I get the following message: "Failed to load document for workspace. Resource does not exist, or you do not have permission to access it." Anybody else having this problem?…
-
Precision Wrapping of Sketch Around Conical Frustum
Hi all, I'm working on a project where I need to accurately wrap a sketch around a conical frustum. The sketch will ultimately be a grid with accurately positioned stars selected from a database superimposed. So far, I've had little to no luck accomplishing this. The only tutorial that seems to come close to doing this the…
-
How do I exactly replicate a bezier curve to make it follow with a 5mm gap?
I am very new to this, so the wording might be incorrect here. I'll also be the first to admit I have no idea what I'm doing, as this is my second time designing something. Context → I'm designing a clip to wrap around a baby gate that will prevent our kid from hitting the button to remove it from the wall. It will look…
-
I'm a beginner. Can someone help me to select points for a hole?
I've tried the training video, but I can't replicate what the video shows.