Planar Holes Finder : a script for 2D workflows!
 1-20  21-27

Previous
Next
 From:  Michael Gibson
8646.21 In reply to 8646.20 
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 Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8646.22 In reply to 8646.20 
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 Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8646.23 In reply to 8646.22 
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.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8646.24 In reply to 8646.22 
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.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 8646.25 deleted 26 Oct 2017 by MKDM

Previous
Next
 From:  Michael Gibson
8646.26 In reply to 8646.23 
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 Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  mkdm
8646.27 In reply to 8646.26 
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!

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-20  21-27