[Building Plugin] LoopCut Utility

Hello, there!

I created a basic implementation of Blender’s loop-cut functionality:


You may recognize this from LoopCut Utility PLUGIN and since then I’ve squashed some bugs & added new productivity features. So upon personal satisfaction with the util. and multiple requests, I have decided to turn this into a community resource!


What can we do with this?

This may come in handy whenever your build requires equidistance or a set amount of subdivisions, such as for the creation of: stairs, ladders, fences, etc

Ultimately, Loop-cut is meant to eliminate some tasks which would otherwise be tediously done by hand. With that being said, it simply unlocks another way of approaching problems related to building and, therefore, Is not intended to replace.

Here’s my quick example of equidistant fencing, done in under 30 seconds:



Setup & usage:

  • First install the plugin

  • Then we’ll assign keybinds to relevant actions. To do so, you will have to:

    1. Navigate to File>Advanced>Customize Shortcuts
      image

    2. Type in “loopcut” in the search-bar and start assinging keys! Here’s how mine looks like:

  • Now that we’ve assigned our shortcuts, it’s time to get to action!

    1. Select your desired part(s) - this supports anything that’s under BasePart class, which includes anything from regular parts to meshes!
    2. Toggle LoopCut
    3. Select the desired face
    4. Either scroll up/down or use your relevant keybinds to increase or decrease the number of cuts
    5. Execute the loop cut (again, using the assigned keybind)
    6. profit.

Final notes:

My goal was to keep this plugin noninvasive and avoid using widgets. For this reason, most settings are hardwired and synced from Roblox Studio. For example, the colour and size of your selection boxes can be configured directly from Studio settings (Alt+S - by default). Additionally, I’ve put this on Github - for anyone who’s interested in seeing how this functions under the hood & those who wish to adjust some settings.

& finally, this is my first plugin and my very very first contribution! Feedback & criticisms are welcome.

Thanks for checking this out and have a productive & an enjoyable day!


Links:

57 Likes

Overall, this plugin is a nice addition to my arsenal, I did have a problem with it though. Can you add a choice to disable the loop cut turning into a model? It slows down my workflow a little bit.

4 Likes

yo this is fire, does it work with meshes too?

1 Like

OOOOH. THIS IS WHAT BUILDERS NEED. THIS IS LIKE BLENDER. This should definitely help builders.

3 Likes

Yes. They clearly stated it in the post.

2 Likes

Hey, @Crazedbrick1!

Glad that this was of any use :smiley:

Given enough requests for similar functionalities I’ll definitely include it as part of the widget. This addition would undoubtedly clash with my initial goal of not having any UI’s - for the sake of UX. Although, It does seem like I’ll have to bite the bullet, since I’ve also received requests for displaying num. of cuts.

Until then you could simply select the newly created container model and ungroup it using “Ctrl+U” - thanks for understanding!

2 Likes

nice plugin, good for studio builders

2 Likes

Amazing plugin, simple to use, easy to setup and very useful! Worked perfectly for me.

99c9d8df1d15abb0efdfb29d3b3e52ec

This will help a lot with my projects, thanks :smiley:

2 Likes

yes, i was confused if he meant that a specialmesh inside a part or a meshpart

Yup, this clones the selected object(s) and all of it’s children - anything that was inside of that object will be preserved.

1 Like

Beautiful plugin :smiley:
I wonder if you can share with us the math involved :slight_smile:

Hi @IlyasTawawe!

The logic relies on simple CFrame manipulation. If you’d like to see how it functions in detail you could check out the GitHub repo

1 Like

Update:

I’ve noticed that some people are having trouble with selecting loop-cut directions using a mouse; this coupled with the latest update of minimum size reduction in baseparts must be significantly inconvenient.

Hence, I’ve decided to address this issue & provide an option to set the cut axis using preferred keybinds:

^ This and some minor performance improvements


1 Like

Amazing plugin, would recommend to anyone.