Full Version: Planar Holes Finder : a script for 2D workflows!

From: Michael Gibson [#21]
 26 Oct
To: ALL

Hi Marco, we might have been writing posts at the same time so make sure not to miss my additional message above about how to automatically determine the projection direction.

Also another thing you might be able to use for containment detection is Construct > Curve > Isect - if you build a planarsrf with your main boundary you could then run intersect on other curves and it will return points if the curve is on the face.

- Michael

Reply


From: Michael Gibson [#22]
 26 Oct
To: ALL

Also project factory inputs are like this:

0: ObjectList - BaseObjects
1: ObjectList - TargetObjects
2: String - Mode
3: Point - Direction start pt
4: Point - Direction end pt
5: Bool - Delete inputs
6: CoordinateFrame - Projection plane - When set project to this plane rather than onto target objects.

- Michael

Reply


From: mkdm [#23]
 26 Oct
To: ALL

Michael thanks you very much for your precious help! Much appreciated !!

Well...I hold in the highest regards all your suggestions and I keep them into my mind.

But for the moment I decided to publish the very first official version of this script using "closestpt" mode of Project command.

I have seen that, apart some rare cases, it gives me much more flexibility and I can work on all views.

In a few hours I will post the first version 1.0 beta also with the variant for lasso selection.

I hope that many users will try these scripts and will report me all issues or strange things.

In this case I will switch to a more complex "curve detection" using "Direction" mode or other ways.

For the moment I think and hope that this couple of scripts, including "Lasso" selection, will be very useful for many 2D workflows and
for other Moi's use cases in general.

Just a final question : Do you think I should create a brand new thread for this first official release to give it the chance to be viewed and tried by
as many users as possible ?

I don't want to spam this forum with all my things ... :)

Thanks again.

Wel'll catch up!

Ciao.

Reply


From: mkdm [#24]
 26 Oct
To: ALL

P.S. ...

Meanwhile could you please remove the old thread that I created some days ago named : "A possible script for finding "holes" of a planar closed curve" ?

Thanks a lot.

Reply


Message 8646.25 was deleted


From: Michael Gibson [#26]
 26 Oct
To: ALL

Hi Marco,

re:
> Do you think I should create a brand new thread for this first official release to give
> it the chance to be viewed and tried by as many users as possible ?

Sure, that sounds like a good idea.


re:
> Meanwhile could you please remove the old thread that I created some days ago named : "A
> possible script for finding "holes" of a planar closed curve" ?

Are you sure you need to have it removed? Since there was some discussion there about possible strategies maybe it could be useful for someone doing research on how to approach a particular kind of script in the future...


- Michael

Reply


From: mkdm [#27]
 26 Oct
To: ALL

Hello Michael.

Ok. I will publish this first beta version of these two scripts in a new thread.

I'm doing some final test and I hope that in a couple of hours, starting now, I should be done.

Unfortunately, like you said, during the last tests the "ClosePt" method for the "Project" command is proving to be too unreliable in many cases.

But I want to close this first beta soon, so i think I should switch to "Direction" mode and calculate the direction based on the bounding box of the container curve.

This will take at least one hour to make some test.

@You : "...Are you sure you need to have it removed? Since there was some discussion there about possible strategies..."

I asked you to remove the other thread because I thought that all the most important things have been addressed here
and all the 5 posts there are only from you and me. No other users.

If you want you can remove it.

Now I go to make the final coding and test.

We'll catch up!

Reply


Show messages:  1-20  21-27

Reply to All

Back to thread list | Login

© 2017 Project Beehive Forum