Grasshopper

algorithmic modeling for Rhino

Hello, I am trying to perform a lexical operation on a data tree.

I would like to replace the numbers : 0;0 , 1;0, 2;0  ... by 0;5, 1;5, 2;5 ...

I thought I could do it with pathmapper.

How Can I do that ?

Thank you for your help

Marc .

Views: 1083

Attachments:

Replies to This Discussion

{A;B} -> {A;5}

--

David Rutten

david@mcneel.com

Poprad, Slovakia

It seems to work however, I wanted to transform the last number in the panel into .5

It is still .0

Can you posibly tell me how to modify this. Thank you

Marc.

Hi Marc,

I think you are mixing paths a data up.

When you say you wanted to change the last number in the panel to .5 do you mean the decimal place of the number or the Path in the top right hand corner

___________{0;5} <--- This or

0 0.0 <--- This

1 1.0

2 2.0

3 3.0

...

15 15.0

If it is the latter then you can simply add 0.5 to every number using the addition component

EDIT: An alternative would be to start your series at 0.5 instead of 0

S input of [Series] = 0.5

Yes this is :

___________{0;5} <--- This or

0 0.0 <--- This

1 1.0

2 2.0

3 3.0

...

15 15.0

That was an either/or question, not a yes/no question. Do you want to change the data paths or do you want to change the values?

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Dear,

I was asking this questions for the remaining following problem.

I am doing text tag for CNC purposes.

I would like to delete the .0 .5 part after the number I gave to the serie.

Also I am looking for a way to bake those texts as a simplify curve.

Both to reduce the time and for further problem.

I tried to cut this document that was nested with rhinonest 3.0

Each time after some cutting process. The machine stopped.

I was wondering if it was caused by the type of curves and the numbers of control points on the curves ?

What do you think ?

Does anyone has ever experienced that problem ?

It will be most helpful if you could possibly tell me more about some strategies I could work with to laser cut those curves.

Best Regards.

Here is the file :

https://www.dropbox.com/s/n5wf16ddr0htmai/laser-cutting-20-avril-20...

I guess what you're looking for is as simple as putting an "integer" component just before the label. That way, you won't need to worry about the decimal part.

Hope it works.

Cheers!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service