Hów to ?! > Rail Array

Next
 From:  TOM (SIRTOM)
8762.1 
Dear MOIers, I´d be happy to get some tips from you how to achieve the following :

The object "Gem" should multiplied and arrayed along the two rails in a way, that the red square
of the Gem-object touches the rails on the 4 edges - 2 points on each rail.

Thanks TOM




EDITED: 3 Jan 2018 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

Previous
Next
 From:  Michael Gibson
8762.2 In reply to 8762.1 
Hi Tom, it would probably help if you could post the 3DM model file as well.

Do you want the gem object to deform at all or do you want it to only be moved and rotated? If you don't want any deformation I'm not sure that there is actually any possible solution to the problem as stated, if the rails are not planar and have different lengths and different tightness of bending in them.

If you want them to be deformed you could try building a surface between the rails using Loft or Sweep and then use Transform > Deform > Flow.

- 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)
8762.3 In reply to 8762.2 
>>Hi Tom, it would probably help if you could post the 3DM model file as well.<<
I had uploaded it but sth went wrong - should be attached now !>>Do you want the gem object to deform at all or do you want it to only be moved and rotated?<<
The gem should not be deformed.>>If you don't want any deformation I'm not sure that there is actually any possible solution to the problem as stated<<
It seems to be difficult and that is why I decided to ask for ideas>>if the rails are not planar and have different lengths and different tightness of bending in them.<<
Ís there a solution if the rails keep exactly the same distance from each other ?
  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)
8762.4 
Make a straight ribbon with wished number of gems.
Name it

Loft your 2 curves

Then you can now use the Flow function! ;)

Of course adapt the base rectangular surface as you want for obtain your wished result!

EDITED: 3 Jan 2018 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:  TOM (SIRTOM)
8762.5 In reply to 8762.4 
Hi Pilou ! The gems should not be deformed but keep their shape ...
  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)
8762.6 In reply to 8762.5 
If your rectangle ribbon has the same length and width than original curves lofted maybe deformation will be insignificant!

Use Unwrap curve for have their length http://moi3d.com/forum/messages.php?webtag=MOI&msg=5136.1
  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
8762.7 In reply to 8762.3 
Hi Tom,

> Ís there a solution if the rails keep exactly the same distance from each other ?

I'm not really sure but it doesn't seem likely if the rails are non-planar.

If the exact rail distance is the same as the side of your square it might then be possible to put ruling lines between the rails but if you then try to put 2 corner points on one of those ruling lines, the other side isn't going to touch the rails that are constantly bending.

I just don't see how it's possible to have all 4 corner points all exactly touching a rail, probably the best result that you could get would be some kind of very specialized shape fitting function that tried to reduce the distance the corners were away from the rails.

- 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)
8762.8 
Seems to be that my idea / approach itself was wrong and that it is just
impossible to achieve what I had put in my mind.

Thank you both Pilou and 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)
8762.9 
Maybe another solution
Build a median curve from your 2 original curves

Array Curve your object

There is also Copy (an object) to Points http://kyticka.webzdarma.cz/3d/moi/#CopyToPoints
but not sure the orientation will be always good even you take the center of gravity as your curve is some circonvoluted! ;)
  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)
8762.10 In reply to 8762.9 
>>Maybe another solution
Build a median curve from your 2 original curves
Array Curve your object<<

I tried that did not really work>>There is also Copy (an object) to Points http://kyticka.webzdarma.cz/3d/moi/#CopyToPoints
but not sure the orientation will be always good even you take the center of gravity as your curve is some circonvoluted! ;)<<

Good tip, will have a look !
  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)
8762.11 
I think a way to go will be to create a zigzagged edged curve to embed the gems which
follows the contour of the original curve.
  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
8762.12 
There is an ArrayGem script.
- B
  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)
8762.13 In reply to 8762.12 
I have tried it for my purpose but did work as I expected, will have a look again.
  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:  Barry-H
8762.14 In reply to 8762.13 
Hi Tom,
I used the array gem command to get the following result.
I lofted between your 2 curves to give a surface.
Produced a curve in the middle of your 2 curves using the iso tool .
Added a base diameter to your gem and then ran the script.
Hope this helps.
Barry
Image Attachments:
Size: 175 KB, Downloaded: 72 times, Dimensions: 800x700px
  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)
8762.15 In reply to 8762.14 
Looks awesome - possible I made a mistake when I tried out the arraygem !
  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:  Finema
8762.16 In reply to 8762.15 
Hi
Same result here
I join the 3dm file

EDITED: 28 Jul 2018 by FINEMA

  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:  TOM (SIRTOM)
8762.17 In reply to 8762.16 
Thank you for adding your file, Finema - great !

EDITED: 4 Jan 2018 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
 

Reply to All Reply to All