Script for generating Wires

Next
 From:  mkdm
8311.1 
Hi Max and everyone.

I thought it was a good idea to create this new thread especially dedicated to latest very useful script written by Max Smirnov.

The script is called "Wire".

Here you can find a recap of all the previous post written in another thread,
that is, the original Max's post and all the subsequent post of the other users plus one post relate to an upgraded version written by me.

This is a list of the post :

- Post 1 (The original post by max)
- Post 2
- Post 3
- Post 4
- Post 5
- Post 6
- Post 7 (Upgraded version of the script)
- Post 8
- Post 9 (Latest from Pilou)


Have a nice day!

- Marco (mkdm)



*******************************************
- Post 1

Original post and Zip file of the script at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.20

Summary :

@Max : "Just wrote this script inspired by neobarok video. :)
Unfortunately MoI's framepicker usage is very limited, so I can't make this script more interactive."






*******************************************
- Post 2

Original post at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.21

Summary :

@PaQ : "Wooo that's super cool Max ! Thanks a lot !
I'm used to apply this catenary formula when creating 'long' cable in houdini :

https://en.wikipedia.org/wiki/Catenary

Do you think it's possible to include a similar parameter in the script ? You know, to simulate some weight/gravity on the cable.

... anyway it's already awesome !"




*******************************************
- Post 3

Original post at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.22

Summary :

@Max : "Right now this script uses MoI's Blend factory (I choose the easiest way). I need to write my own curve calculation algorithm first. Then I can add a relaxation feature.
I'll think about it."






*******************************************
- Post 4

Original post at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.23

Summary :

@PaQ : "Hi Max,

Not a big deal, it's already very helpful the way it works now ;)"




*******************************************
- Post 5

Original post at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.24

Summary :

@PILOU : "With a node who draw number of start volume(s) on a Sphere that will be gorgeous! :)

French Version :)
http://moiscript.weebly.com/scripts-de-max-smirnov.html"






*******************************************
- Post 6

Original post at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.25

Summary :

@danperk (SBEECH) : "Thanks Max!!!"




******************************************* (Upgraded version of the script)
- Post 7

Original post and Zip file of the script at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.27

Summary :

@Marco (mkdm) : "Hi Max and thanks a lot for this very funny and useful script.

I just had told to Michael that I'm losing motivation on keep modelling with a 3D nurbs environment,
even with the superb Moi, and...here you are, with just another tricky script that ignited my imagination!

Thanks a lot Max!

I wanted to write a little modified version 1.0.1 that allows the selection of a source profile for the Sweep command.
If no source profile is selected then a factory Circle is used and the Diameter Input UI is displayed.
In the case of multiple source profile only the first selected profile curve is used for the Sweep command.

In the attachments you can find the file "Wire2.zip".
Unzip it and copy its content into the Moi's Command folder.

Here are a video and a screen capture :

http://take.ms/RPcb5"






*******************************************
- Post 8

Original post at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.30

Summary :

@Metin Seven (METINSEVEN) : "Wow, this discussion keeps getting more and more interesting!

Frenchy, merci beaucoup for the links and tips! I will definitely check them out thoroughly.

Marco, I can fully understand your choice for 3D Coat. It's a powerful ZBrush competitor, and I'm keeping a close eye on it, but I've already invested a lot of $ and time in ZBrush, and last time I tried 3D Coat (a few months ago), I concluded for myself that I still prefer the feel of ZBrush sculpting. It feels more fluid and natural, it's difficult to explain in words. :) But yeah, the ZBrush UI is an odd one, with all the tiny sliders and some other quirks, such as the unusual curves. I'm really looking forward to ZBrush 4R8, which will *finally* have a standard transform gizmo, although I've gotten reasonably used to working with the Transpose tool by now.

Max, you've once again proved your creative coding talent! Thanks a lot for the cool new tool!

Have a great weekend you all,
— Metin"




*******************************************
- Post 9

Original post at : http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.31

Summary :

@PILOU : "Translating the wire2 and test it I don't find Diameter on the result!
Does this normal ?

Edit sorry : that's normal as I had first choose a profile! :)"

  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)
8311.2 
---
Pilou
Is beautiful that please without concept!
My 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:  mkdm
8311.3 
Hi everyone!
I've found two hours of break during my developing (boring) daily session, and also a little bit
of funny thanks to the latest Max's script (Wire and Wire2 retouched by me),
and I did this strange columns and road :)

Here are the files :

1) Only the base 3DM object : http://take.ms/EhtkP

The video screen cap of the construction : http://take.ms/h2s3q

A screenshot





2) The whole 3DM scene : http://take.ms/EMHg9

I've used a field of view of 95 degree.

The video screen cap of a manual pseudo-camera animation : http://take.ms/rO7g8



See you!

- 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:  Frenchy Pilou (PILOU)
8311.4 
Yes _wire(x) open on an infinite word of links! :)
---
Pilou
Is beautiful that please without concept!
My 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:  Mindset (IGNITER)
8311.5 In reply to 8311.3 
Hi Marco,

Great tutorial!

What are these scripts and where are they available?



Thanks!
-- MindSet

  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)
8311.6 In reply to 8311.5 
If you speak about wires scripts there are here!
wire1 http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.20 By Max
wire 2 http://moi3d.com/forum/index.php?webtag=MOI&msg=8301.27 By Marco
---
Pilou
Is beautiful that please without concept!
My 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:  mkdm
8311.7 In reply to 8311.5 
Hi Mindest!

Thanks for the appreciation!

Here are the scripts you asked for.

1) These are the two original scripts written by Michael.

Download the zip file from http://take.ms/6EIBk

Unzip and copy the two .js files into the Moi's "scripts" folder.

2) And this is the modified version that I wrote some times ago.

Download the zip file from http://take.ms/4Pgky

Unzip and copy the four files into the Moi's "commands" folder.

These are the main difference between the original Michael's scripts and my :

1) Michael's file are two .js placed into the "scripts" folder and they are not executed into the Command Processor environment.
This mean that they aren't treated as an "atomic" undoable operation.
And, more important, these scripts move ALL the selected objects, under or on ground, considering the global BoundingBox that contains all that objects.

2) My version is composed by four files placed into the "commands" folder and in this way they can be executed into the Command Processor environment.
This mean that they are treated as an "atomic" undoable operation.
And these commands process all the selected objects but move EVERY single object INDIVIDUALLY, under or on ground.

All these things are clear if you watch this short video : http://take.ms/mjPfT


See you!

- 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:  Mindset (IGNITER)
8311.8 In reply to 8311.7 
Wow thank you Marco!
I love this forum and of course MOI.

For sure let us know if you ever decide to share your UI enhancements - they are extra fine.

It was especially nice of you to take the time to make the tutorial.
Thank you Marco!
  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
8311.9 In reply to 8311.8 
Hi Mindset and thanks again for your appreciation.

@You : "For sure let us know if you ever decide to share your UI enhancements - they are extra fine."

Well, as I said some month ago, I hope to have some decent amount of extra spare time to clean up a little bit
my whole Moi application folder, and once that is done, I will publish my whole Moi, as is, also with all the hotkeys and setup,
and with all the UI and plugins you see in my video.

It will be my personal gift to the community :)

See you.

- 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:  Ced (FRACTIONALIST)
8311.10 
Here's a little clip how to make wires: https://youtu.be/F4EZ2LvdrIE
  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:  PaQ
8311.11 In reply to 8311.10 
Hello,



Flow - Twist - FLow

- You can build this kind of wire in 2 minutes in MoI, using the flow function.


In poly-modelling world, a good method is to use curve deformation tool, or UV conform technique .... way less destructive than the direct modeling approach from this video.

EDITED: 16 Jan 2023 by PAQ

  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
8311.12 In reply to 8311.11 
Hi PaQ!

Very nice and interesting stuff! Thanks!

- 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