HLCaptain / proto-shape

Godot engine plugin for rapid prototyping.
MIT License
40 stars 2 forks source link

Adding ProtoBorder #16

Open farfalk opened 7 months ago

farfalk commented 7 months ago

A node capable of offsetting (adding) or insetting (subtracting) existing CSG geometry, for a given height, of a given amount. This could work through copying the existing combined geometry and operating on the copy.

The existing CSG geometry could be the parent (easier, more limited) or a selected CSG node (less intuitive, lots of possible uses)

Proposed properties:

HLCaptain commented 7 months ago

Hi, how would that be different, from simply using CSGCombiner? I can add/subtract the final geometry with any shapes as you have shown in your comment under #13. You could set the border height as well manipulating the subtracted shapes.

farfalk commented 5 months ago

Hi, how would that be different, from simply using CSGCombiner? I can add/subtract the final geometry with any shapes as you have shown in your comment under #13. You could set the border height as well manipulating the subtracted shapes.

Sorry for the hiatus.

Here I'm considering a utility CSG object that can automatically generate a border around a pre-existing CSG (individual or combined), like for skirting boards, building decos, and similar border-y stuff that circles all around the geometry with fixed height and thickness. You can do that with CSGcombiner of course, but this would automate it.

I think I can make a prototype of it to show you what I mean, I'll try!

HLCaptain commented 5 months ago

Sure, go for it, now that you expended upon it, I kind of have an idea of my own as well, thanks for inspiring me! Unfortunately, I have to finish my masters degree, this spring, so I can start working on it during summer at earliest. Waiting for your sketches, so I can understand your use-case even better! 😄