ZBrushCentral

ZScript: ZPlace (Updated 14-7-03) with source (TXT)

…now i’m going to swim … 32°C here…

[EDIT]
New Version:

  • add X and Y indipendent sliders
  • remove some bugs
  • add shortcuts
  • add Z movements
  • add X, Y, and Z absolute moving sliders
    Shortcuts:
    U --> UNDO
    4 --> Left
    8 --> Up
    6 --> Right
    2 --> Down
    7 --> Z+
    9 --> Z-
    P --> Toggle Snap Checkbox
    K --> Toggle Mark Checkbox
    M --> Mark Object
    Shift-S --> Snapshot Object
    Ctrl-D --> DROP Object

[EDIT]
New version (23-6-03):

  • Add X, Y and Z Absolute Scale Sliders
  • Add Grid function :wink:
  • Remove bugs

[EDIT]
New version (29-6-03):

  • Add Rotate when moving
  • Add X, Y and Z Absolute Rotate Sliders
  • Add Array function (thank you to Jay and WingedOne ;))
  • add NumMarker Info
  • Add random color and material
  • Remove bugs
  • ADD BUGS

Warning: this is a beta version (i have add a lot of code…)
More, i have some problem with rotation…X rotation in particular…Can you help me ??

[EDIT]
New Version: 3-7-03
Rewrite the script to solve the rotate problem (thank you Pixolator) :wink:

[EDIT]
New Version (6-7-03):

  • add demo
  • remove bugs

[EDIT]
New Version (10-7-03):

  • add to Array random Color and material
  • update interface

[EDIT]
New Version (14-7-03):

  • add diagonal movements
  • update interface
  • polish code

Download: (with source)ZPlace.zip

Unless bugs this is the “commercial” version :wink:

Please report any errors.

cameyo

p.s. i think this is a useful script to make multimarker…i’m glad to see some feedback from Zusers…thank you

Hehe that seems appetizing :cool:
Bravo Cameyo !

Hi!

really cool script cameyo!
Trying to get handy with it!

Hi Cameyo
I whish that your bathe was very good :sunglasses:

Your script is almost absolutly fabulous :roll_eyes: :roll_eyes: :roll_eyes:
Quicky Test :slight_smile:
All seems work fine :slight_smile:
Just an observation : impossible to stop the script by Esc ! Curious :question:
Another thing : the last object in C is not in the multimarked object ?
Maybe it’s because I don’t know how escape :wink:
The “Z” seems constant :slight_smile: Too constant :smiley: see follow :roll_eyes:
Precision Scale of 5 decimal is great :smiley: (I am joking)

:small_orange_diamond: Now some suggestions for speedy easy use                       :)
:large_orange_diamond:Why not possible step X and Y different ? 

(you have made this for the scale :slight_smile:

:large_orange_diamond:Why not add [7] and [9] for the move in "Z" ?

now we must enter in the Deepth Z (not very practical and the negative “-” is reserved for the zoom !!! :slight_smile:
All People are singing “We want the Zkeys, we want the Zkeys” (success of the ZZ top :smiley:
:small_orange_diamond:A step for X,Y,Z seems indispensable :smiley:
:large_orange_diamond:Colors ?
Except this, all seems perfect :sunglasses:
The next version will be unsurpassable :smiley:
Go ahead Cameyo !
Pilou
I don’t try with the “Alpha” but there is no reason that’s crashed :slight_smile:

See my first post for last version.
Frenchy: The last object is not marked … and not snapped too… :slight_smile:

Thank you for trying

cameyo

p.s. Tip: Press Ctrl then click and drag the DRAW button on the canvas…see image on my first post…you can create a floating menu with the zscript interface!!!

Hi Cameyo
Soon update :cool:
Sure for the Z ! You don’t will regreat !
You can’t stop on the way :slight_smile: key 7 & 9 !
It’s works fine for the Depth “Z” : I suppose that will be the same for the Z+ ,Z- :slight_smile:
With it Manual Control will be Total :cool:
For color as you want:
the best is of course the more largest choice :
cyclic gradient, level grey, colors choose, random…but it’s a prog inside the prog :slight_smile:
Have happy coding :cool:
Pilou
I have trying the Update
Why the script don’t stop when Esc is pressed ?
How exit for take the MultiMarker produced :
Just disable Snap and Markers ?
I have understood the little “bug” of the no “last marked object”
In fact when the Snap and Markers are enable, this works when the object is “move”
So When I take the multimarker the last object is not moved !
So moving one more than you whish obtain :slight_smile:

Hi Cameyo
You are a genious :+1: :+1: :+1: :sunglasses: :sunglasses: :sunglasses:

Pilou
Very useful not only for Multi-Markers :slight_smile:
I suppose that’s work also for the Alpha or simply for the painting !
Ps For the Float menu , I know it because I have made a Tut about it :smiley:
Pss Colors will be in the ultimate Up Date :slight_smile:
Like this, Zbrushers have some times for take handy the script !
Psss Sorry for you have pushed in your last entrenchment :roll_eyes:

Hi Cameyo
Zplace2
Is the Quad Quick by Aurick can run in the same time than other Script ?
I can’t not use it so I don’t know very well his using.
Because the use of the “z” should be more explicit with it :rolleyes:
All seems work fine !
Pilou

Great script bro!!! WELL DONE !! :smiley: :+1:


Quicky doodles
Pilou

Hello Cameyo,

This is a verry nice script because off the markers it leaves this way you can produce
multimeshes like in Spiral.txt

Froyd is also working on his Runit.txt
Though verry different would it be a nice idea to team up and come with one smashing
script including saving presets making multimeshes and what ever comes up

just an idea I cannot script myself but have many ideas on the subject
most times dont even know if things are possible

or maby a main.txt which runs all off the scripts like Spiral.txt Runit.txt and Zplace
Best off all worlds

here is a screenshot of a multimesh done with Zplace2
nothing spectacular but I can see the possibilitys just tried it once untill now


:slight_smile:

Thanks for another excellent script. Anothe weapor for the arsenal. :+1: :+1:

23-6-03
New version download: ZPlace.zip

See first post for news…

cameyo

Futur test soon coming :slight_smile:
Pilou


Hi Cameyo
Can you try the same manipulation ? A[8], B[8], C[6] etc…with just the relative “Z” [7] or [9]
And [7] on A after the first turn.
I have wished a cubic structure but not just a level of cube 3D as the result and not 3 levels ? :confused:
(Your script was the first after the start of programm, nothing make before)

For the grid, why limit to 10 the size of Mgrid and Clear(without keeping possible) after a new regulate ?
With this you can have a useful tool of making scotish kilt motif ! You have color in yours too :slight_smile:
as BigMike Script previous challenger ?
have happy scripting !
Pilou

Hi Pilou,
you can’t obtain a 3D cube structure …because the marker overwrite the previous marker. The marker are X,Y identified…i wish a marker with X,Y,Z identifiers…well maybe it can’t be selecte d via mouse or tablet, but we can select it via Script ;).
Yes, i’ll change the Grid parameter…The BigMike ZScript Grid don’t works well, try it with a line with 4 pixel width (other parameters unmodified)…also the newlayer switch create a new layer after the grid lines placement… :smiley:
To obtain a 3d cube structure you must reuse your result … and ZPlace again :wink:
I have made a simple script to show the method: Pilou.zip

cameyo

Hi Cameyo
Yes I understand your method if I can’t see it (polymeshed :rolleyes:
You make a level and restart with it :slight_smile:

It’s curious because sometime I obtain a 3D structure cubic with my method!
And else what is the use of “Z” :smiley:

Maybe when the markers have not the same place x,y, z an existant !
I shall send you some examples :slight_smile:
Pilou


Have Funny Zplacing :cool:
:ex: careful :ex: Addiction Possible :smiley:
Just play with the regulates :rolleyes:
Pilou
Ps
Of course any textures, material, lights… are possible on the polymeshes final !

Hi Pilou,
i’m working on a new version (with help,tips,ecc.)
Try to draw a grid over an image (not new layer)…
Try this too:
select Cube3D - Drop Button - StepX=64 - StepY = 64 - Snap ON Mark ON - move around canvas to draw some cube - now press Q - Press Ctrl-N - … and now press any key of LUDR…

cameyo


Hi Cameyo
You want to say that use a grid with cubes 3D take something like tilling Escher Stairs ? :slight_smile:
<A HREF=“http://www.mcescher.com/Gallery/recogn-bmp/LW435.jpg” TARGET=_blank>Ascending and Descending 1960 Lithograph
</A>
<A HREF=“http://www.mcescher.com” TARGET=_blank>The Escher Site
</A>
Pilou
Ps Some colors maybe in the new version ? :slight_smile:
Here some fantasy with organic form :slight_smile: