[Studio Beta] Solid Modeling on Meshes & new Fragment and Sweep APIs

[Update] July 7, 2026


Hi Creators,

Today, we’re introducing a major update to the GeometryService solid modeling APIs through a Studio Beta:

  1. Support for MeshParts: Solid Modeling APIs (Union, Intersect, Subtract) can now work with MeshParts that are solid (watertight meshes) and can return MeshParts.
  2. New Fragment APIs (FragmentAsync and GenerateFragmentSites) for simple destruction scenarios.
  3. New Sweep API (SweepPartAsync) for smoother cutting operations.

image5image3
Examples of the new Fragment and Sweep Solid Modeling APIs working on MeshParts

Getting Started

  • Enable the Beta: In Studio, go to File > Beta Features and check the box for Solid Modeling on Meshes.
  • Restart Studio: You must restart for the new features to become available.
  • Insert Parts: Insert a few Parts to experiment with.
  • API: Use the updated/new APIs in GeometryService in-experience!
  • Studio: Select a MeshPart (as long as it’s watertight), and use the CSG buttons as normal.
Example watertight Mesh asset Ids

Trashcan: rbxassetid://<AssetID>
Concrete barrier: rbxassetid://137496414167932
Other concrete barrier: rbxassetid://127978757233904
Trashcan: rbxassetid://90684740193134
Trashcan lid: rbxassetid://123662502244804
Wooden stool: rbxassetid://104175091765939
Statue: rbxassetid://9919494208
Marble bust: rbxassetid://71500910168164
Sofa: rbxassetid://79548826650348
Lounge chair: rbxassetid://93056797001636
Moon rock: rbxassetid://89163266696075
Garden gnome: bxassetid://90905762425499

Let’s dive into the details

Solid Modeling operations with MeshPart instances

Both our Studio Solid Modeling tools and our in-experience GeometryService APIs now support meshes that are watertight. A watertight mesh (or closed/solid and non self-intersecting mesh) is a 3D mesh that is completely enclosed, with no holes or gaps, ensuring that it could hold a volume of fluid without any leaks. See the solid modeling guide for more information about this.

If the MeshPart is textured, the texture on the “main part” (as defined by the API) is preserved. Currently, textures from the “tools” are discarded and only the geometry and vertex colors are preserved.

image6
Using the Studio Solid Modeling buttons to subtract (Negate + Union) one MeshPart from another.

image2
Using the in-experience APIs to subtract a cube from a MeshPart trashcan.

Combining MeshParts, Parts and PartOperations in Solid Modeling operations is one of the new powerful capabilities. Here is what you will get back in each combination:

  • Part + Part = PartOperation (already possible)

  • Part + PartOperation = PartOperation (already possible)

  • Part + MeshPart = MeshPart (New)

  • MeshPart + PartOperation = MeshPart (New)

FragmentAsync and GenerateFragmentSites

These new APIs in GeometryService allow you to break parts while giving you control on how to do it. The FragmentAsync API takes a list of points and then fragments the Part by ensuring boundaries of the resulting parts are equidistant between points (i.e. a 3D voronoi distribution). This allows you to tweak exactly how the part will fragment just by selecting the right number and location of each point.

If you want simpler behavior, you can use the helper GenerateFragmentSites function to generate a list of points for a part that is ready for FragmentAsync to consume. This API gives you more intuitive options like siteSpacing, origin and radius to tweak how the sites are generated for the Part you provide

This snippet shows a code sample that generates sites to fragment a block part
local GeometryService = game:GetService("GeometryService")

local inputPart = Instance.new("Part")  
inputPart.Position = Vector3.new(0, 0.7, 20)

local sites = GeometryService:GenerateFragmentSites(inputPart)

local success, fragments = pcall( function()  
	return GeometryService:FragmentAsync(inputPart, sites)  
end)  
if success and fragments then  
  for _, item in fragments do  
		local instance = item.Instance  
		instance.Parent = workspace  
	end  
end  

Running this script produces the following result:

More details and code samples are available in a dedicated Fragment section in the solid modeling guide.

image5 image4

More examples of using the FragmentAsync and GenerateFragmentSites APIs for inspiration

SweepPartAsync

This new API sweeps a part through multiple positions which enables smoother cutting operations. SweepPartAsync performs pairwise sweeping between consecutive CFrames and unions the results into a single solid MeshPart suitable for additional modeling operations, such as SubtractAsync for performing a slice.

image9 image3

Left (or top): Without sweep you get a bunch of smaller holes instead of a clean cut.
Right (or bottom): With sweep, you can define a clean cut for tools like laser beams or swords allowing the resulting part to actually fall out.

Here is a quick snippet which demonstrates how the API can be used to sweep a ball through a set of CFrame positions to create a spiral
local GeometryService = game:GetService("GeometryService")

local inputPart = Instance.new("Part")  
inputPart.Shape = Enum.PartType.Ball

local cframeList = {}  
for i = 1, 50 do  
	local rotation = CFrame.Angles(0, i * 0.5, 0)  
	local position = Vector3.new(0, i * 0.1, -1)  
	table.insert(cframeList, rotation * CFrame.new(position))  
end

local success, sweptPart = pcall( function()  
	return GeometryService:SweepPartAsync(inputPart, cframeList)  
end)  
if success and sweptPart then  
	sweptPart.Parent = workspace  
end  

Here is the final 3D shape generated by the sweep:

More details and examples are available in a dedicated Sweep section to the solid modeling guide.

Example Place

Here is an example place file that has some tools available for testing along with some watertight places. To play around with this place, enable the Studio beta feature using the instructions above and then download and open the attached RBXL file link below.

Solid Modeling on Meshes Studio Beta_v2.rbxl (377.0 KB)

Demo place instructions

When you start the demo experience, you will have 2 minimal example tools in your backpack and some more complex tools available floating in front of you.

  • Minimal Breaker will just break stuff around where you click
  • Minimal Sweep will cut as long as you hold the mouse down
    • Holding Shift will do discrete subtractions so the current behavior can be tested
  • Laser is basically a Minimal Sweep with some fancier UIs and effects
  • Magnet functions similarly to the breaker but grabs the fragments which you can then fire (for fun)
    • Single left click = shoot 1 fragment
    • Left Shift Click = shoot whole thing and explode at the end
    • Left Control + Click = shoot all fragments quickly one after the other
  • Sledge … It’s a big hammer!
  • Floating Cube: Generic CSG Tool with lots of options. The controls will appear on screen but here are a couple of them
    • V: Change tool (U = Union, - = Subtract, ∩ = Intersect)
    • X: Substitute In Place (or not)
    • C: Try to preserve Constraints
    • Z: Should the parts be split apart when there are disconnected components
  • There is a preloader script in ServerScriptStorage > MeshPreloader that can be enabled (or disabled). When enabled, the script will “prepare” MeshParts by doing a no-op CSG operation. This reduces the latency for the first operation performed on MeshParts, but it comes at a memory cost, see next section for more details.

Memory and Performance

Solid Modeling with MeshParts vs. Primitives / PartOperations

Performing operations on MeshParts have an equivalent performance and memory cost to performing them on Parts / PartOperations. The computations are async and so do not affect the main thread. However, note that a MeshPart created via the CSG API has a higher ongoing memory footprint than a standard asset because it retains a copy of its mesh data in memory.

Fragment APIs

While the Fragment API itself is Async and does not block the render thread, generating a high number of fragments can impact physics performance since each piece becomes a newly simulated Instance. Although the engine’s adaptive sleep system minimizes overhead once parts become stationary, we recommend being judicious with your fragment counts. To help manage this, the Debris service can be useful for automatically cleaning up unnecessary pieces over time.

Sweep API

The Sweep API is also Async and does not block the main thread. Its performance will be similar to a Union operation with the same number of triangles in the output. Keep in mind that if you call Sweep with either a large number of CFrames or a complex mesh, the number of triangles can be very large. This means if the CFrames come from a user’s mouse/touch input, you may want to filter out CFrames which are very close together.

Best Practices

  • You can manually replace an old part with a new one, which can cause visual flickering, or use SubstituteGeometry/ApplyMesh to seamlessly update the existing part’s shape while keeping all its children intact. For more details, see this section in our docs.
  • Use the existing GeometryService:CalculateConstraintsToPreserve API to retain constraints when performing solid modeling operations. This opens up a lot more intuitive behavior for your players while keeping things simple for you.

image1
Example of using CalculateConstraintsToPreserve to keep a MeshPart attached to a handle while performing a sweep. Notice that the top half of the trash can remains fixed to the post.

:warning: Known Issues / Limitations

  • Currently, any MeshPart created with these new tools is not saved across sessions. This means that if you restart Studio or publish your game, the MeshPart’s data will be lost. This is to prevent misuse of Mesh assets that might be owned by other creators. We are actively working to remove this restriction and will post an update in this thread once it is resolved. The likely solution here will be to allow persisting the resulting geometry if you have permissions to edit the underlying source mesh assets.
  • When importing meshes with more than 20k faces, the simplification process will most likely make the mesh non-solid. So, try to ensure your watertight meshes are <20k triangles. In the future, we will be improving our simplification algorithm so it will maintain water-tightness.
  • When using textured MeshParts, the texture on the “main part” (as defined by the API) is preserved while textures from the “tools” are discarded and only the geometry and vertex colors are preserved.
  • During the beta, the new APIs will not work in Team Test sessions.

What’s next?

These new APIs and capabilities would not have been possible with all of your feedback over the last few years. We really appreciate everyone who tried things out and gave us candid feedback during the Early Access preview and now we are excited to get feedback from a much wider audience. Once we have addressed the known issues above and any new issues that the community brings up, we will enable these APIs in published experiences.

We are constantly working to make our solid modeling tools even more useful and easier to use. To that end, we are also working towards enabling you to use these APIs on meshes that are not watertight and we are making some exciting progress there.

Our Solid Modeling Early access program will continue to run and will be updated with these new capabilities over the next few months so make sure you sign up if you are interested.

In addition to feedback and issues please feel free to share your creations in the posts below to inspire others!

Happy modeling,
Roblox Geometry Team

432 Likes

This topic was automatically opened after 10 minutes.

this is the type of update we needed like 10 years ago

164 Likes

studio updates vs platform updates

123 Likes

Looks great, really excited! Is there a notable performance or visual effect if multiple people are ‘fragmenting’ parts at once, per se? Especially in large amounts (e.g. 3-4 people)?

29 Likes

Finally bruh, I’ve been wanting this for so long

23 Likes

wait roblox might be cooking? this updates been very needed for a long time now

20 Likes

This is a really cool update, only thing i would suggest is a way to sweep or fragment in studio with a button instead of only being able to do it in game with a script
Still though, csg on meshes is awesome

12 Likes

I cant express my excitement to use this system for my game! so i use a image instead

thank you roblox!!!

32 Likes

wait what? that’s a… g- goo- good roblox update?? what? what’s the catch? will the next announcement be another total apocalypse?

25 Likes

Alright i just noticed an issue, if you paste a mesh id into a unioned mesh then studio will just crash instantly

9 Likes

yo, Y’ALL COOKED WITH THIS UPDATE!

7 Likes

Thank you so much! I’ve been waiting SO long for this update :slight_smile:

6 Likes

Are meshes not created by the game owner able to be fragmented? E.g. what if I make a semi-transparent golden clone of a player’s avatar, then “shatter” it via this API for a cool temporal spell visual effect? Would their clone’s accessory meshes be able to be fractured?

4 Likes

I think @FGmm_r2 is my new favorite staff member

These updates are really really good. Keep working on this.

7 Likes
  • There are currently no permission restrictions on what you can fragment/sweep/do modeling on BUT
  • When publishing gets added you will still not be able to republish a mesh derived from a mesh you don’t own (you will still be able to fragment in place)
  • Yes your current example will work under the strong restriction that the meshes are watertight (the docs contain information about that)
5 Likes

I don’t understand how you can “misuse” someone’s mesh with this.
I can’t imagine anyone saying “you may use my mesh for your game, but you shall not use CSG on it and save it.” It really doesn’t make sense to me.
But if this is really the reason we can’t save CSG’d meshes, how about giving people who upload a mesh an “Allow others to use CSG on this mesh” option?

7 Likes

My usecase is purely runtime VFX in game. The avatar example I gave wouldn’t require publishing anything right?

2 Likes

From a permissions perspective, it will work

6 Likes

Why is this always the catch for every recently added feature related to assets? First there was Editable Images/Meshes restrictions, then glTF Export restrictions, and now this.

I cannot stress enough how stupid and pointless this kind of policy is. How do you expect multi-person teams to ever work with assets together if half of their studio features won’t even work when they don’t own them? Do you think people actually trying to steal assets are going to be at all hindered by these restrictions when they can just download an asset from the CDN and reupload it for themselves?

I hope when you say you ‘are actively working to remove this restriction’ that you mean actually remove it soon and not just leave it in indefinitely or add a worthless exception like allowing Roblox-owned assets.

20 Likes