sgenoud/replicad

Replicad Share Application doesn't put all objects into same coordinates.

Closed this issue · 6 comments

This is expected behaviour - but I might want to change it.

The idea with the share functionality is to show the models - it automatically puts them on a grid and ignores its coordinates.

You could fuse all your pieces together (with .fuse or makeCompound) so that they keep their positions (but you would loose the different colors).

Generally, replicad does not have a good assembly story yet.

I should add an option to the sharing widget to keep the coordinates. What is your use case? (so I can understand the best way of doing this).

That makes sense. What I'm trying to do is allow people to put parameterize descriptions of multiple 3D laser scanners for a system, and then be able to view a 3D representation of the system. Being able to have multiple objects with different colors and opacities is important for scanning devices, fields of view, target object, and other scene objects.

My use case is a bit of an edge case for Replicad, and there may be more appropriate tools for this. However Replicad was the easiest to make a proof of concept that I immediately share on the web. Another option would be to build from the web app. Currently it looks like it only handles a single object, but it might not be that hard to add multiple object support. Most likely we will end up wanting a more customized interface if we continue with this project.

I should have more time Monday to look at it, but it should be fairly easy to do.

From how I think of replicad, your use case is exactly the kind of things I have been building it for. And in case you continue this project and need some consulting, don’t hesitate to contact me!

Thanks. Having the simple configuration interface of the share app would be nice. If we do go ahead I'll likely reach out.

The modifications have been done. Have a look here for instance. This should work once you reload the version of the app.

The share screen as a couple of additional options as well depending on how you want to present your model.

Capture d’écran 2023-02-27 à 10 52 32

Awesome!