Jump to content
  • “Great art picks up where nature ends.”  Marc Chagall 

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
Share on other sites

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
Share on other sites

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 :)

splines.c4d


Free C4D trainings from MAXON professional on our youtube channel

 

https://www.youtube.com/c4dcafe

Share this post


Link to post
Share on other sites

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
Share on other sites
  • Topic Author
  • 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
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    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  

    • BLOGS

    About Us

    C4D Cafe is the largest Cinema 4D community. We provide facilities for discussion, showcasing and learning our favourite software.
    Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, watch tutorials directly from our video gallery,  get your own private messenger, post and upload images, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, C4D Cafe is the right place to be for learning 3D.  :cowboypistol:

    ×
    ×
    • Create New...