Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

How to model a marble track?

øyvind_kaurstadøyvind_kaurstad Member Posts: 234 ✭✭✭
While the subject is rather specific, the question is perhaps a bit more generic. Suppose one wants to model a pipe or a half-pipe (or a winding road for that matter) that starts somewhere up in the air (bear with me on this), and has a downward slope towards the ground (or just a plane), while at the same time taking turns, perhaps crossing under itself on the way down.

While I realize that Onshape (or other MCAD systems) might not be the tool for something like this, I think it should be possible to do it. I have some ideas, and I have done some testing (not yet with a satisfactory result), so I'm asking for ideas on how to best try modelling something like this.

Comments

  • _Ðave__Ðave_ Member, Developers Posts: 712 ✭✭✭✭
    I suppose it would be best to wait for 3d sketching capabilities.
  • øyvind_kaurstadøyvind_kaurstad Member Posts: 234 ✭✭✭
    Hmm, ok. Do we know if and when Onshape might have that?
  • Stuart_TodStuart_Tod Member Posts: 56 PRO
    Not just 3-d sketching - but a path mate! Have been asking for this for a while...
  • øyvind_kaurstadøyvind_kaurstad Member Posts: 234 ✭✭✭
    @michał_1 Some interesting techniques there, and quite a lot going on. I've looked at it, and you did some things there that I hadn't thought of. And you reminded me that I need to get accustomed to use a bit more of the available tools in Onshape, especially 'Shell' and 'Thicken'. I keep forgetting about those, but they certainly are very useful sometimes.

    Thank you very much for taking the time to do that!
  • robert_herculesrobert_hercules Member Posts: 1
    That looks like a very nice marble maze...but do we have any way to model the marbles following the path yet, or is that still an OnShape non-starter?
  • jeff_mcclainjeff_mcclain Member Posts: 4

    Ohhhh….very interested in this. I've been trying to figure out how to define a helix or path and then have a sketch of a half pipe cross section swept through that path, which is pretty easy, but I want to be able to have it "rotate" as it goes to stay pointed toward the normal of the curve. This would allow the half pipe to rotate to oppose the curved path wanting to fling the marble out. But I don't know how to define that and have not yet been able to sweep a sketch (screw patterns like a helix are easy, but how to have it rotate the sketch at the same time)?

  • jelte_steur814jelte_steur814 Member Posts: 232 PRO
    edited September 3

    Hi @jeff_mcclain,
    "pointed to the normal of the curve" might not be mathematically correct. imagine a strainght line with an arc element after it, the normal of the curve of the line is a full plane, so not fully defined. while the normal direction of the arc isn't actually helpfull in keeping the marble in, since it would keep the track flat.

    I think the implicit math of the curves isn't goint to help you here. Perhaps the new 'Routing curve' feature (link below) may help. It requires some more manual inputs but it works.

    Create the first curve to represent the marble track nominal position, and a second one with manual offsets in the curves to determine the direction.
    Then loft a face between the two routing curves to create surface that defines the perpendicular direction, and a sweep with 'lock profile face' option.

    I tried this way of working and it seems to work…

    marble track experiment

    https://cad.onshape.com/documents/bd7be0eed8222d8883d87406/w/206de415247c061ce4959c3c/e/b01c59d857f572fa2b834b21?renderMode=0&uiState=66d6da5e17ff872f8c5e4b93

    new curve features forum thread:
    https://forum.onshape.com/discussion/24874/routing-curve-control-point-curve-introduction-of-two-new-features-for-3d-curve-creation

  • jeff_mcclainjeff_mcclain Member Posts: 4

    Thank you! I will play with this! I suppose I meant "a normal line to the plane that slices the conduit/curve".

Sign In or Register to comment.