Circular Helix Array
 1-20  21-40  41-60  61-68

Previous
Next
 From:  Brian (BWTR)
1519.21 In reply to 1519.20 
Colin
Various things happen if the sweep profile is too big relative to the number of turns.

However, there seems to be no concistency/settings/relationships so I just would leave it as an oddball happening--best forgotten?

EDITED: 31 Dec 2008 by BWTR

  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:  Brian (BWTR)
1519.22 In reply to 1519.21 
Sorry about this one!
Just having great fun!

EDITED: 31 Dec 2008 by BWTR

  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
1519.23 In reply to 1519.19 
Re: visual plugin toolbox / plugin categories, .... - those are definitely good ideas, but just keep in mind that if I spend several weeks working on a super nice extra-deluxe categorized plugin gallery UI, that is several weeks of work that are not happening on other areas.

That's why probably initially I will shoot for just having something pretty basic in this area that at least gives a text menu, but that should still be a significant step up from needing to make keyboard shortcuts! :)

- 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
1519.24 In reply to 1519.20 
Hi Colin, that's a kind of "Michelin man" type effect there! :)

> When I moved over the resulting Sweep, there looked to be
> a different formed helix contained within it.

Yup, that's correct - what happens there is as the sweep profile travels along a curve, it does a slow rotation about the curve's tangent direction. That rotation is visible in the "seam edge" of the resulting sweep surface.

But that additional rotation is a much longer distributed one, it's like an additional long coil, there isn't any way to cause this particular thing to rotate at a higher frequency to make more coils on it, because the purpose of it is to kind of minimize jarring sudden twists during the sweep.

- 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)
1519.25 In reply to 1519.24 
< those are definitely good ideas, but just keep in mind that if I spend several weeks working on a super nice extra-deluxe categorized plugin gallery UI, that is several weeks of work that are not happening on other areas.

Suggestion
So give just the possibility to the user to build his own library of plug ! :)
(background, image, text)
  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:  jbshorty
1519.26 
Michael - Having a specialized Toroidal Helix command sounds llike a bit of a temporary solution. As you mentioned, it's not practical to make a helical version of every curve type. So why not have an "Around Curve" option as in Rhino?

Brian - There is a very easy way to control the "tangent spin" on the swept surface. You need to run the sweep using 2 rails. Just make two helices with same # of turns and same starting point, but give them different radius values.

jonah
  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:  manz
1519.27 In reply to 1519.12 
Hi Michael,

Nice result there.

I do find much interest with the math_functions. If you have time could you post the available math_functions allowed (there is no need for examples or explanations, just correct syntax for input/use)

Example:
You show use of cosine via: "Math.cos" so would that infer a "Math.tan" function, and are there further such as arc_tan / sq_root etc etc.

TIA

- Steve
  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
1519.28 In reply to 1519.25 
Hi Pilou,

> Suggestion
> So give just the possibility to the user to build his own library of plug ! :)
> (background, image, text)

If you'd like to write your own UI, that is actually possible right now...

I've attached an example here: PluginGallery.htm - copy that to the \ui subfolder in MoI's main installation folder, and then set up a keyboard shortcut that has this as the command for it:
code:
script:moi.ui.createDialog( 'moi://ui/PluginGallery.htm', 'resizeable' );


Now when you push that key, the PluginGallery.htm page will come up in a dialog box.

It is a page of big buttons, you can click on a button to start the command - currently only the ToroidalHelix one is filled in.

But you can edit the PluginGallery.htm file with as many different images, backgrounds, or text as you like.

- Michael
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:  Michael Gibson
1519.29 In reply to 1519.26 
Hi Jonah,

> So why not have an "Around Curve" option as in Rhino?

I'd like to do that in the future, but I don't currently have enough stuff exposed for scripting to make a script plugin right now that will do that.

On the other hand, there is enough stuff in place to do a quick toroidal helix one.

So that's why I made that one, to solve the immediate problem at hand.

A lot of times I may create these little plug-ins to solve some immediate particular problem...

- 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
1519.30 In reply to 1519.27 
Hi Steve - re: Math functions

That's actually just straight JavaScript code there, so check out any JavaScript programming reference to get the complete list. (in this case look for something like "Math object").

Here are a couple of links:

http://www.w3schools.com/js/js_obj_math.asp
http://msdn2.microsoft.com/en-us/library/b272f386.aspx

- 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)
1519.31 In reply to 1519.28 
I will test that :)
---
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)
1519.32 
Works like a charm!
Of course theses colors are my own fantasy for this post:)
If I good understand I must just edit the Html file for add my own Plug button image, background, Text... etc... :)
The only important thing are these lines ?
<html xmlns:moi>
<head>
<link rel="stylesheet" href="moi.css" type="text/css">
<title>MoI Plugin Gallery</title>
<style>
moi\:PushButton table
{
text-align:center;
width:220px;
}
</style>
</head>

and each lines
<moi:PushButton command="ToroidalHelix">


EDITED: 5 Apr 2008 by PILOU

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:  Brian (BWTR)
1519.33 In reply to 1519.32 
Thanks Jonah and all.
I am going to have more fun today it seems.
It's 9.30am here.

Sailor Ed has suggested to me that I may want to create braided rope! (As in plaited?)
  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:  Ed
1519.34 
re: Math functions

I have a project at the moment where I need to draw a sine wave. I was going to plot a sine wave in an Excel spreadsheet graph, then trace over in MoI.

I'd like to see an example of how to program one in MoI.

Ed
  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:  Brian (BWTR)
1519.35 In reply to 1519.34 
Is it not simple to bring in a jpeg image, even a jpeg of a "print screen", into the MoI View/Image to use to trace over?

The attached shows some sine wave images that could be saved for that purpose.
(Sorry if I have misinterpreted your question)
Brian

EDITED: 31 Dec 2008 by BWTR

  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
1519.36 In reply to 1519.32 
Hi Pilou,

Yup, you've got the right idea there - you would keep the top stuff the same, and edit the stuff that is inside of the <moi:PushButton> tags - each of those is one of those big buttons.

For each command, you would add the command name inside the command="" part, so for example for the Pipe plugin, you would put:

<moi:PushButton command="pipe">
....


Now pushing that particular big button will call the Pipe plugin command.

For changing the images or text, you can find the <img> tags, and change the src="" paramter to point to your own bitmap file - this can be a file on your local hard drive instead of on the web if you want, for those use the file:// address, like <img src="file://C:/images/MyImage.jpg">

To edit the text, find the areas inside the <td> tags that currently say stuff like "Some other command" and "Notes: Some notes here", and change those to say whatever you would like to have as text instead.

You can use copy and paste to insert new <moi:PushButton> elements as you wish.

If you look at the file you will see that there is a <tr> </tr> for each row of buttons (tr stands for table row), and then a <td> </td> around each button (td stands for table data cell) - if you are familiar with HTML this is all the same as that.

I found that I made a kind of error in the previous one - I had copy/pasted 3 tables in there instead of putting things all in one single bit outer table, I have attached an updated version (PluginGallery_fixed.zip) that has just one big outside table.

Of course there are also a lot of other possible ways to arrange this, I have attached an alternate version (PluginGallery2.zip) that is more like a single column vertical list. One thing that is nice about this arrangement is it is easier to add items to the end of it since you don't have to worry about any <table> <tr> or <td> stuff in it.


Note that after you edit these file you need to exit and restart MoI to see your changes applied (this is because MoI internally caches these files in memory to speed up subsequent loading, so it once it caches one version of a file it won't see any changes to the file during the same run).

- 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:  Brian (BWTR)
1519.37 In reply to 1519.35 
Just a very quick rough example.

EDITED: 31 Dec 2008 by BWTR

  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
1519.38 In reply to 1519.34 
Hi Ed - re: sine wave function

Here you go!

To install it, unzip the attached SineWave.zip file and copy the 2 files into the \commands subfolder under MoI's main installation folder, then you need to set up a shortcut key with the command name of SineWave and push that key to trigger the new command.



Everything in this one follows the same process as that previous toroidal helix command.


Note - the resulting curve only has its control points located exactly on the sine wave, the actual curve will follow the control points but not go exactly through them so there is some small deviation from this and a completely accurate sine wave, but it is pretty close.

You can use a higher point count if you want to increase the accuracy, as more points are used, the curve will be closer to the points and become more and more precise to the true sine wave shape.

Hope this helps!

- Michael

(EDIT: original version had a small bug where editing the length did not update, attaching updated fixed version).

EDITED: 5 Apr 2008 by MICHAEL GIBSON


  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:  jbshorty
1519.39 
Just blend between two lines to create 1/2 of the wave. Then mirror, join , and use Array Dir to repeat it...

jonah
Image Attachments:
Size: 62.1 KB, Downloaded: 105 times, Dimensions: 695x399px
  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:  Ed
1519.40 In reply to 1519.38 
Thanks for the Sine Wave Michael!

I like these little "wizards" you keep coming up with.

I was prepared to trace one, but having one accurately created will help with my model (which I hope to post soon).

Ed
  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-40  41-60  61-68