Multiple symmetry update
 1-10  11-30  31-39

Previous
Next
 From:  TOM (SIRTOM)
7888.11 In reply to 7888.9 
" I've attached a version using regular scripting that does it, by using the Rotate command with "Make copies" set to true 6 times and setting history updates to be turned on for the generated objects. "

Wow what support thank you so much for taking the time ! Well it does work with V2 too as I see.

""It looks like you're trying to edit the .htm file there - that contains the definition of all the UI controls like the prompts and push buttons and things like that:""

I took a look at the html file as I managed to achieve changes by editing the html before in the circular array html :

Thanks again to you guys the support in this forum is the best I can think of -T-
<moi:Text textid="ArrayCircular item count label"> <input id="NumItems" default="3" class="unsignedintegerinput inputwidth">

EDITED: 22 Mar 2016 by SIRTOM

  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
7888.12 In reply to 7888.10 
@Brian - no problem!

@Tom - I think I missed a part of what you were looking for, try the attached version which first does a mirror around the world Y axis, then generates the rotated copies (the previous version also accidentally made one extra copy too).

So it will make a history setup that will work like this:



- 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
7888.13 In reply to 7888.11 
Hi Tom,

> I took a look at the html file as I managed to achieve changes by
> editing the html before in the circular array html :

Oh yeah, for changing the default value of the ArrayCircular UI control that is where you want to go. Sorry I thought you were trying to do something else.

But I think the second script above should finally do the kind of symmetry that you were looking for.

(and I accidentally edited your message above when I was trying to post this one)...

- 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:  TOM (SIRTOM)
7888.14 In reply to 7888.12 
I noticed that there was a copy of curves and just deleted them. Perfect - it does even create symmetry automatically now?!
Have to try tHE update immediately. Thanks for the update !
  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)
7888.15 
If you take view Points and move points history is broken with this Script : that's normal ?

EDITED: 23 Mar 2016 by PILOU

  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
7888.16 In reply to 7888.15 
Hi Pilou,

> If you take view Points and move points history is broken
> with this Script : that's normal ?

Well it depends on which particular curves you were editing. You should be editing the original curves and then all the generated ones will update. History will only be broken if you edit one of the generated curves instead of the original one, is that what you were trying?

Here is an example of editing the control points of the original curve:



- 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)
7888.17 
Sorry I don't know what i made: all works fine now!
Maybe I have pressed the History button in false position after the MirrorRotateHistoryArray...

  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)
7888.18 
What about the number of copy rotation itself ?
If I modify it (with a text editor) that change the Angle, but not the apparently original 12 result !
Say I want 5 result for example???
  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
7888.19 In reply to 7888.18 
Hi Pilou,

re:
> What about the number of copy rotation itself ?

There's one line of code that controls that, on line 26:

code:
	var numcopies = 6;


If you want to have 5 copies around the circle edit that line to say this instead:

code:
	var numcopies = 5;



re:
> If I modify it (with a text editor) that change the Angle

Don't modify the angle, modify the line above the angle that sets the number of copies. The angle is automatically computed based on the number of copies.


> Say I want 5 result for example???

You mean 5 copies rotated around and not any mirroring? That's what the first script in this thread did, it didn't do the mirroring step, it did rotation only, so try that. It's in this same thread here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7888.7

If that's not what you're trying to do could you try to describe it a bit more?

- 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)
7888.20 In reply to 7888.19 
Perfect! (if we accept to have the Editor Text open in the same time! ;)

All that will be not necessary when Object Components System will be made! :)
I have my 5 objects!

EDITED: 24 Mar 2016 by PILOU

  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)
7888.21 
Infinite gothic rosace play! :)

---
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:  Frenchy Pilou (PILOU)
7888.22 
Infinite gothic rosace play! :)
Possibility to move the points of the first curve(s) is very practical!

  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:  TOM (SIRTOM)
7888.23 In reply to 7888.22 
Pilou is the king of experimentation ! ;-)

Should be possible to use this script as a "Guilloche Generator" like this tool here :

http://2008.sub.blue/projects/guilloche.html


Attachments:

  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)
7888.24 In reply to 7888.23 
Don't miss by the same author Tom Beddard
the incredible and very easy Fractal Lab Online!
http://hirnsohle.de/test/fractalLab/
my test ;)




  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:  TOM (SIRTOM)
7888.25 In reply to 7888.24 
Beautifully amazing !
  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:  TOM (SIRTOM)
7888.26 
Hi.

This nice script works with curves but not with solids generated form that curves.
Is it possible to expand the script so it will work with solids, too ?
  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
7888.27 In reply to 7888.26 
Hi Tom, it might depend on what particular command or process you use to create the solids from the curves.

Can you give some more specific workflow for how your solid is being constructed?

- 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:  TOM (SIRTOM)
7888.28 In reply to 7888.27 
First, I draw the curves.
Then, I create solids out of them with loft or network.

As I am designing a symmetrical object, it is much faster to use a script
than apllying the symmetry command several times.
  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
7888.29 In reply to 7888.28 
Hi Tom, can you post an example file that has one of your curves that you are replicating and then using Loft and Network on?

I just did a quick test over here, and I was able to use the symmetry script to generate curves, then did a loft through those curves and it is updating fine for me when I edit the original curve.

- 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:  TOM (SIRTOM)
7888.30 In reply to 7888.29 
Hi Michael,
Here an example with network (3 repetions / arrays)

The script runs with the curves but it does not multiply the network.

EDITED: 30 May 2016 by SIRTOM

Attachments:

  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-10  11-30  31-39