sgenoud / replicad

The library to build browser based 3D models with code.
https://replicad.xyz
MIT License
324 stars 38 forks source link

Importing STEP? #2

Closed lf94 closed 2 years ago

lf94 commented 2 years ago

Is this already possible and just not well exposed?

I would like to import https://gitlab.steamos.cloud/SteamDeck/hardware/-/blob/master/steamdeck_step_20220202.stp and cut it in half using RepliCAD.

sgenoud commented 2 years ago

I have not done anything related to importing STEP (or STL). I will post here when I do!

sgenoud commented 2 years ago

I have implemented import functions for replicad

This is far from perfect but it (mostly) works.

You can have a look at this small attempt at loading the file here. Note that I use cors-anywhere to bypass cors checks and you need to click on the button here: https://cors-anywhere.herokuapp.com/

lf94 commented 2 years ago

Oh my god, yes! Thank you!