Jump to content

1 Screenshot

About This File

This is my first marionette and it's based on @Marissa Farrell's image processing! 

 

It takes an image and creates a Halftone object of it with black circles:

image.thumb.png.f33b8b71262e2f4b015ec1b976d8746c.png

 

IMPROVEMENTS:

  • Final objective is that I'll add cnc DXF milling information to this marionette so that it can be milled on a CNC machine.
    (We've milled Halftone parts in the past using Jason Dorie's Halftone program http://jasondorie.com/page_cnc.html)image.thumb.png.9a162eb8e5f5bbe81c141176e68d46ad.png

    Result:
    image.thumb.png.afc3f83686c219cf60061661355012ea.png         

    Detail:
    image.thumb.png.ed54e4580832ce19cef1d53913750ffa.png

 

  • Maybe add a line milling. The image below is milled by us in the past with Jason's program.
    image.thumb.png.0b17bbb423deac5a5326b90ddd057080.png
     
  • Be able to change the dimensions of the final halftone image. Now it takes the pixel width and height of the image, but I would like this to be some adjustable parameters. Changing the height and width with Set Height and Set Width has no effect. Somebody has a suggestion on how to do this?
    image.thumb.png.228d99f072d912abba5604ab5445c465.png
     
  • Now the marionette looks at the color of each pixel on a grid with step "Distance between Circle Centers". Related to that color, it creates a circle with according radius on the position of that pixel: 
    image.thumb.png.e3ef5e65f8e6a0ff7efe910d1b781559.png
    The problem with this method is that that single pixel on the grid has total control on the radius and the one pixel just next to the chosen one has no relevance. A better mechanisme would be that the size of the circle is related to the average color of all the pixels in the area of the square "Distance between Circle Centers"x"Distance between Circle Centers". Anyone with some advice on handeling this? I got some little progress on it:
    Here we have 2 lists. One with all the pixels. X,Y coordinates of the pixel, Z is the radius of the circle according to the color. The other list has the X,Y values of the centers of where the final circles have to be placed. 
    image.thumb.png.bf7b8ebc4b13a32803902f35c4da6468.png
    Following this we need to check the distance of all the image points to the center points. If this is smaller than a condition, then that point's radius had to be taken into account for calculating the average radius of that centerpoint. Any one has a quick hint on how to create this in marionette?

 

 


What's New in Version 1.0.0   See changelog

Released

No changelog available for this version.

  • Like 10

User Feedback

Recommended Comments



Hi @Marissa Farrell,

 

Thanks for sharing the updated nodes. I opened the file in 2021 and added the Python Externals by the default commands, but unfortunately the network/nodes doesn't seem to work. See attached screenshot and converted file. 

 

Then I tried it in 2020, and it works just fine...

 

Any chance you could look into this again? Many thanks! 

image.png

ImgProcessing_(2)_v2021.vwx

Link to comment
  • Marionette Maven
4 hours ago, Tbai said:

Any chance you could look into this again? Many thanks! 

 

Looking into it now and I have it logged into bug tracking because I think the issue is possibly bigger than I can handle. Will do my best to keep you posted.

  • Like 2
Link to comment

Hello everyone

 

I'm trying to build a puppet that merges drilling directly with Interiorcad's NC export.

@DomC @Stephan Moenninghoff

 

Can someone tell me why the Interiorcad holes are not updated immediately after changing the database?

 

If there are only a few holes, I can cut them out and paste them in again. However, if there are too many, the file can no longer be opened.

 

Thank you for your help.

 

 

Ps: Regarding contour stroke, can I control each vertex individually in z-value?

 

908983450_Bildschirmfoto2023-03-03um22_24_20.thumb.png.211ae5ca6f7e998c2b99ffdfdb258f53.png

Bohrung_X12.vwx

Link to comment
Vor 1 Stunde sagte DomC:

ResetObject

Thanks @DomC

 

The reset node seems to be doing its job, at least partially.
The holes are updated.
Why is only the hole in the top left shown correctly?

 

The component derivation also seems to recognize only one hole.
Is there still only the process of cutting and pasting in the same place?

799833901_Bildschirmfoto2023-03-04um12_00_15.thumb.png.3e4d002383d66a342e5814e8776caa9a.png789846289_Bildschirmfoto2023-03-04um12_00_22.thumb.png.30bfba30fad704de83044238480b565f.png

1137293133_Bohrung_X122.vwx

Link to comment

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
Add a comment...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...