Jump to content

Recommended Posts

Hi all!


I'm making high-detailed laser cut artworks. I'm currently trying to reduce detail to reduce cutting costs. Only way to do so is by hand. Now I'm looking at a file with 3300 exploded splines. 500+ of those are squares I don't need to touch. 


I'm looking for a way to sort them by amount of points (that can be seen in the structure manager). Switching them off would work, putting them in a layer, anything that avoids me going over them one by one only to sort them.

If I could just filter all the splines with for example 8 points I could edit those far quicker.


Is there a way to do so or is anybody willing to take a challenge and X-presso it for me? Happy to give a financial "thank you" for it!

Share this post

Link to post

For me it may be pretty simple.

Simple script in python:

Run thru whole hierarchy, search for splines, compare pointcount, and add to created layer if condition thrue...

Simple, it has just little BUT


...I don´t know how to write script :(


Share this post

Link to post

here is a quick and dirty one. In the scene, there is user data setting where you define the count of points which is selection criteria. So, any point count less than what you enter there will be selected in object manager. Do note that effect is continuous and you can disable xpresso tag to stop the script within Xpresso. Hope this helps :)


Share this post

Link to post

yes, that´s it. But I was ment pure python script with searching thru all hierarchies in OM (I expect user has a very complicated model with a lot of hierachies which contain splines not just single one)

Share this post

Link to post

I wrote I couldn't get it to work but never mind, I updated my C4D and it works like a charm now!


Thank you so much, that will save me several hours of work, possibly days. I'll PM you, cheers!


I don't have a complicated hierarchie, it's an exploded version of a complicated drawing really. No hierarchy at all and in the end it will be one drawing again... So this tool is plenty enough! I'm always going to spend hours on it, and still, so this "quick and dirty" version with a couple of extra clicks is perfectly fine! 


Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...