Modlumi - Easy 3D modelling
-
@pilou Lovely rosace!
There's no Ruby in Modlumi, so SketchUp Ruby scripts won't run in it. Modlumi has its own scripting in JavaScript, with an API modelled on SketchUp's (models, entities, operations, transformations), so a Ruby script translates over quite directly.
- Scripting → Script Console is the equivalent of SketchUp's Ruby Console: type JavaScript at the bottom and it runs against the open model.
- Scripting → Script Editor edits and runs a whole
.jsfile (F5), and File → Run Script… runs one. - Scripting is in the desktop app only, not the browser version.
So yes, Gemini can write scripts for Modlumi. Ask it for JavaScript for Modlumi and give it the docs so it uses the right API: https://modlumi.com/docs/guides/getting-started/ (the API reference is in the same docs). A tiny example:
const model = modlumi.activeModel; model.operation("Box", () => { model.entities.addRectangle([0, 0, 0], 4, 3).extrude(2); });There are also
addCircle,addArcandaddPolygon, which a rosace will need. Coordinates are in meters;modlumi.mm()converts from millimeters.No MCP needed for any of this. Copy and paste is fine, and since 0.30 pasting long scripts into the editor works too.
Cheers,
Thomas -
@ntxdave Glad the update worked this time!
You're right, there's no glass in the library yet. The Poly Haven sets are all opaque surfaces like wood, brick, and metal. Glass is easy to make yourself, though: in the Materials panel, click New material, pick a light blue-grey or green-grey color, set Opacity to about 20–30% and Roughness to 0. Then paint your window panes with it. I'll look at adding a few ready-made glass materials to the library.
Also, thanks a lot for sending your carwash model! I'm working through it now and using it to fix bugs and make improvements. Real models like yours are the best way to find what still needs work.
Cheers,
Thomas -
@pixelcruncher
Many thanks for the precisions! -
Modlumi 0.31: feet and inches, center snaps and better SketchUp imports
Modlumi now speaks feet and inches. The new Architectural length format shows lengths the way install drawings and floor plans are read:
12' 8 1/2", to a precision from 1" down to 1/64".Dimensions, the measurement box, Properties and every length field use it, and you can type lengths the same way, such as
12'8or12' 8 1/2. Choose it under Format in Window > Model Settings, or pick Feet and inches on the welcome screen. A SketchUp file set to Architectural units opens in this format, where it used to show decimal inches.Snap to the center of a circle, an arc or a polygon. Pass the pointer over the edge of the shape, then move to its middle: the tooltip says Center. The center stays available while you draw, so a line can start or end on it. No more drawing a diameter to find it. Thanks to @pilou for asking for this one.
SketchUp files come in much closer to how you saved them. Thanks to @ntxdave for sending me his SketchUp files to test with; these fixes all come from one of his SketchUp 2018 drawings:
- Files open on the view they were saved on, and SketchUp 2018 files keep their scenes.
- Guide lines and guide points import, on their layers.
- Text labels land at their points, with their leaders, instead of piling up near the origin.
- Labels and dimensions keep their colors, and the style's background color comes along.
- Guides and axes start hidden when the file's style hides them.
Also in 0.31:
- A model can have a background color of its own, set in Window > Model Settings and saved with the project.
- The user guide now has screenshots and short animations throughout: https://modlumi.com/docs/user-guide/
Download it for Windows from https://modlumi.com/download/latest/windows or for Mac from https://modlumi.com/download/latest/macos, or open the browser version at https://modlumi.com/app/. If you already run Modlumi on Windows, Help > Check for Updates offers 0.31.
Full release notes: https://modlumi.com/docs/release-notes/
-
Thanks,
but I get very different display -
@pixelcruncher
Seems we can't copy the pinky text error inside the Script Editor ( v 0.30 ) not yet tested v 0.31...)
(or i don't know how to make it !
Very more practical with ai dialog against an image of text!
-
@Krass Can you email me the cat scene? Thanks!
-
@pilou I will add that feature. I see the value of just copying the error lines.
-
@pixelcruncher
the cat is coming, but sorry for the big size, I created a Rayscaper archive, (c'est un réflexe) -
Request : Circle , Poly Between two Snap Points on space 3D! (Arc is yet existing)
-
@pixelcruncher Thanks for the updates in 0.31.
Now I have a silly question: Is there a way to only show guides in one scent? I have a car wash model (the one I shared with you) and I have 3 scenes in the model. I added a 4th scene to show that guides are now imported, and I want to create an animation that shows the 3 scenes plus the one that also shows the guides but I only want them to show (in the video) the guides in the 4th scene. But I have not figured out how to only make the guides show in the 4th scene.
-
@ntxdave
Not tested but if you put your Lines guide on a layer you can hide them a each moment...
So when you play and record the scene just press the "show eye" of the Layer concerned when it's the turn of the Lines guides!
I even know if there a button play is existing but this manual trick must works!
-
@pilou That was what I was thinking as well but like you, I did not know if that would really work. I gave it a try so here is a video that not only shows it works but also shows that with 0.31 everything in a SketchUp model is not imported into Modlumi.

@pixelcruncher I also need to thank you for this latest update. I hope the gif file above show the things you had talked about. You can see that there are multiple scenes and that all of the items you mentioned are now imported and can be views/used in Modlumi.
-
@ntxdave
I have try that i said previous!
In fact all works fine and better than i expected!
Put your helper line on their Layer according the time line with visibility wanted or not !
And all will works like a charm! :)You must Play Scene / Layer tabs as your scenario wanted!
And you have also a button Save Layer to enable or not!
The only little default is the button Update who has not a frankly visible action or not!
It is shy.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement