I’ve got the basics down, but now looking to do something more complex, and unsure if it’s possible. I have imported a flat shape (a pcb), and I can extrude this out. What I want to do however is to rotate it on its axis, and then extrude it down the z-axis (not directly out from the surface). Is this possible, and if so, how?

  • lps2@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    You’ll want to leverage hull! First linear extrude your PCB shape just to make it 3D, you can do something like 0.00001 then rotate to your desired angle. Make this a module then call it twice, once at wherever you want it and once more but translated on the z-axis by however high you want to “extrude”. Wrap these two up in a hull and you’re good to go!

    • lps2@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Note that this will always be convex, if your 2d shape has “holes” you’ll want to get a bit more creative, I like to do a difference to create the “negative” as a 3D shape, do the same exercise as above but translate slightly higher and lower and use ‘difference’ to create your final shape

      • mholiv@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        A bunch of people beat me to it but yah hill between two objects is the way to go. Linear_extrude is best thought of as a purely 2d operation that produces a 3d object.