Good morning guys.
Code: Select all
begintemplate morphology_mhc
public morphology
proc morphology(){localobj nl,import
nl = new Import3d_Neurolucida3()
nl.input("morphology.txt")
import = new Import3d_GUI(nl, 0)
}
endtemplate morphology_mhc
That code runs on neurons, but it doesn't run when I import it in the other simulation tool,
I think it's because the simulation tool couldn't read that txt file...
Since it is over 20000 lines of code, I think it is the worst way to type pt3dadd on each line.
Is there any way other than manually entering pt3dadd? Without inputting another file
A txt file seems like this..
Code: Select all
("CellBody"
(Color Red)
(CellBody)
(-4.96775 -10.3298 -2.262 0) ; 1, 1
(-5.82775 -8.55975 -2.262 0) ; 1, 2
(-5.89775 -8.42975 -2.262 0) ; 1, 3
(-6.75775 -6.78975 -2.202 0) ; 1, 4
(-7.27775 -5.73975 -1.452 0) ; 1, 5
(-7.27775 -5.65975 -1.452 0) ; 1, 6
(-7.65775 -3.41975 -1.452 0) ; 1, 7
(-7.61775 -1.95975 0.678 0) ; 1, 8
(-7.61775 -1.87975 0.678 0) ; 1, 9
(-7.73775 -0.27975 0.678 0) ; 1, 10