reduce sections to one section

The basics of how to develop, test, and use models.
Post Reply
thats_karlo

reduce sections to one section

Post by thats_karlo »

Hi,
I will try to explain, what dose my subject mean!

Assume, you have 4 connected sections,with different diametres

Code: Select all

create a, b, c, d, e
a{L=30 diam=10 }
b{L=12 diam=5}
c {L=23 diam=8}
e {L=40 diam=7}
connect b(0), a(1)
connect c(1), b(1)
connect d(0), b(1)
connect e(0), a(0)
Is there any way to create a new section,A, which has following geometry:

for A x=0..30 --> diam=10
x=31..43 --->diam=5
x=44..67 --->diam=8
x=68..108---->diam=7


Thanks in advance!
ted
Site Admin
Posts: 6394
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

Read the Programmer's Reference discussion about specifcation of Geometry--
http://www.neuron.yale.edu/neuron/stati ... metry.html
Pay particular attention to the 3-D method.
Post Reply