Reconstruct Curve Script?

Next
 From:  dirt (DIRTYPIPES)
9855.1 
i cant seem to find the reconstruct curve script on the forums dose it still exist?
  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:  corchet
9855.2 In reply to 9855.1 
reconstruct curve ( both files in Moi command folder )

with a point count

or rebuild ... better

EDITED: 9 Sep 2020 by CORCHET

  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
9855.3 In reply to 9855.1 
Hi dirt, you can get it from here:
http://kyticka.webzdarma.cz/3d/moi/

- 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:  dirt (DIRTYPIPES)
9855.4 In reply to 9855.3 
thx very much for the quick reply
  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:  Frenchy Pilou (PILOU)
9855.5 
Does "Rebuild" the ShortCut of ReconstructCurve or it's something different ?
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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
9855.6 In reply to 9855.5 
Hi Pilou, they are 2 different commands. Rebuild is a built in command, ReconstructCurve is a plug-in you can download from above.

- 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:  Frenchy Pilou (PILOU)
9855.7 In reply to 9855.6 
It gives the same result ?
  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
9855.8 In reply to 9855.7 
Hi Pilou, no they have different methods. ReconstructCurve uses a fixed number of points while Rebuild uses a tolerance value. There is a # Points method on Rebuild that will give the same result as ReconstructCurve. ReconstructCurve also has an option to make a polyline result through the sampled points while Rebuild does not have that option.

- 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:  Frenchy Pilou (PILOU)
9855.9 In reply to 9855.8 
THX for these infos that i have forgotten!
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  Psygorn (DRILLBIT)
9855.10 In reply to 9855.3 
Hello Michael,

I hope you are doing well.

I've got a question for you. I noticed in the "commands folder" most of the add-ons require or let's say required "_" before their respective file names. However, I noticed it seems for the Reconstruct Curve Script "_" is not needed to be added, am I right?

and may I know the reason?
  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
9855.11 In reply to 9855.10 
Hi Psygorn, the command name is defined by the file name of the .js and .htm files. If the file name starts with a _ character then the command name will also start with a _ character.

If the file name does not start with a _ character, then also the command name will not have a _ character.

The command name just matches the file name whatever it has in it.

I think the underscore ones were created by Max Smirnov, it was a naming convention he used to separate them from built in commands or something like that.

- 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:  bemfarmer
9855.12 In reply to 9855.10 
I believe that Max used the underscore prefix, for custom ui.
Alphabetically, files with it occur in a list, before other files.
All underscores could be removed, so long as the new name, without underscore is used, and no name duplicate is created. Personally I have used underscore, just to separate "NONSTOCK" commands.
-Brian
Nowadays, I keep most nonstock commands in a MoI Appdata command subfolder, with the nonessential underscore prefix. They stay there during MoI upgrades and betas.

EDITED: 30 Jan 2022 by BEMFARMER

  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:  Frenchy Pilou (PILOU)
9855.13 
Underscore Max is just for recognize Native scripts against external script than its ;)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  Psygorn (DRILLBIT)
9855.14 
Ok thank u guys, I got it. :)
  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:  Zooen
9855.15 In reply to 9855.6 
I was reading this post from 2020. Because I use ReconstructCurve and Rebuild very often.

Michael > Rebuild is a built-in command, ReconstructCurve is a plugin.
When I started with MoI3D, the position of the scripts surprised me, then one day I understood (Eureka!): You can see, when you click on the "Scripts" icon, that the integrated commands are at the top (above the bar ) and below are all the plug-ins that have been installed.
  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:  Zooen
9855.16 
Still on ReconstructCurve and Rebuild, which I use very often.

Michael > There is a #Points method on Rebuild that will give the same result as ReconstructCurve.
I noticed that with "ReconstructCurve" you had to multiply by 5 the number of points of the original curve to obtain a practically identical curve.
If we do the same with "Rebuild" we also obtain a practically identical curve. But we don't get exactly the same result. Well I "pinaille" the difference is negligible.
What I find interesting with "Rebuild" is that you can request the deletion of corner points, although this is annoying if you want to keep some of them...
I am facing this kind of problem when I import "dxf" files.
I take this opportunity to mention another small problem that I noticed. In the help, in the "Align" tool section, at the end: This results in the 2 points being lined up with one another and now the curve can be mirrored without a sharp crease forming. Yes I agree, but the connection "point" remains a corner point (you can see it if you move it slightly or if you do an extrusion). This may have implications later with other tools and later in the design. Well now that I know, I corrected that, it's not a big problem. MoI3D is awesome software that I really enjoy.

- Zooen
  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:  Michael Gibson
9855.17 In reply to 9855.16 
Hi Zooen,

re:
> Yes I agree, but the connection "point" remains a corner point (you can see it if you move it
> slightly or if you do an extrusion).

If you like you can delete the connection point.

I have some ideas on having a kind of symmetry drawing mode that you could turn on and maybe it could make a result without a corner point on the mirror axis line, we'll see...

- 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
 

Reply to All Reply to All