Script for Curvature Calculation
 1-18  19-24

Previous
Next
 From:  Karsten (KMRQUS)
6634.19 In reply to 6634.18 
Hello Pilou,

the problem of the open analysis curve for closed curves is caused by the patharray factory. The script works with a startpoint of the curve, arrays it to the curve and calculates the center of an theoretical arc for 3 following points. For a closed curve the arrayfactory don't calculate the last point, because it's the same as the start point. It's possible to improve that, but for the analysis it has not an effect, because the start and end point would need a previous point and following point. I solved that with a lagrange interpolation. The old script don't calculates start and endpoint. Ccc has to be placed in the command folder. It is complete independent from the node stuff. It's older than the elephant. Please play with the number of sample points and rhe scale factor.

Have a nice day
Karsten

EDITED: 21 Dec 2017 by KMRQUS

  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:  Karsten (KMRQUS)
6634.20 In reply to 6634.19 
p. s. If you want to see also your curve in the nodeeditor while running a curvature analysis you can clone it first and give one clone to a second output node.
  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)
6634.21 In reply to 6634.20 
Thx for all these infos!
It's not precisely for me but for French people who will ask me that! :)

About the double curve by clone : very tricky simple!
I'm sorry I didn't find it all by myself!

Have happy Christmas...and coding!
See you the next year!
---
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)
6634.22 
What is CCC ? Construction Curvature Calculation ?

Seems there is something! Like there is no title appropriated?

In English I have 2 Lines : (and not Select Curve(s) to Analyse! )
Choose Number
of Sample Points






Result!

EDITED: 21 Dec 2017 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:  Karsten (KMRQUS)
6634.23 In reply to 6634.22 
I saw a film, there was some saying : Give me names of wild animals! Answer: Evil butterfly!

My first mind was calculate curves curvature, but it's to long so CCC, but I can't speak french so it's up to you how you will translate it. The right name in english is comp curve, I think. I read also porcupine analysis, but I think it's for surfaces and also a word used by Dassault. I'm not shure if they can english really. Some other naming in CATIA was raising my doubts in the past;-) Anyway, In french most of the things sounds better and more graceful.

Have a nice day
Karsten
  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:  Frenchy Pilou (PILOU)
6634.24 In reply to 6634.23 
No, my question was not about some names of things (except CCC) but just why that is writed inside the code is not shown on the panel !
Aespecially on the title!

I have offseted the text lines on the Nopad++ for have the right thing! :)

EDITED: 9 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
 

Reply to All Reply to All

 

 
 
Show messages:  1-18  19-24