Is everyone aware of the Jmol "slab" command?. This can be used from the console which can be brought up using the pop-up menu. The slab command allows you to slice an object at any percentage. For molecules a number of people have implemented a slider interface to this feature.
See this link for the command description. http://chemapps.stolaf.edu/jmol/docs/#slab Here's an example of the slab command using a slider on a small biomolecule: http://biomodel.uah.es/Jmol/sliders/wzorn/slab-slider.htm To see how this looks with an object described by a surface use the popup menu (right mouse button) to select Style>Scheme>Wireframe to get rid of the ball representation of the atoms and then select Surfaces>Molecular Surface (one of the other surfaces will work too). It will take a little while to calculate the surface,but you can than slice it with the slider. Jonathan On May 15, 3:42 am, Jurgis Pralgauskis <jurgis.pralgaus...@gmail.com> wrote: > Hello, > > stereometry needs imagination or more experience, > to understand cross-sections and so on > > I found some interactive > examplehttp://www.learner.org/courses/learningmath/geometry/session9/part_c/... > > I'd like to have sage interact for solid construction and > cutting_plane parameters > and then view it around via jmol :) > > in school this is mostly needed for parallelepiped or pyramid solids: > > mysolid = SomeSolid(apex_points_3D) > # and I can get, mysolid.surface_planes() > #so I'd expect to have algorithms which detect > > intersection = Intersection(mysolid, cutting_plane) > # we get some 2D polygon, > # probably first analytically find intersection.lines > # and then solve the > # self.segmets = self.endpoints (self.lines , self.mysolid) > # for conic would be some different approach ... > > intersection.fill() # or draw() would draw some lines or color to show it > > what does sage have already, and what would need to be hacked? > > Thanks in advance :) > > ps.: just for > referencehttp://en.wikipedia.org/wiki/Cross_section_(geometry)http://en.wikipedia.org/wiki/Conic_section > > -- > Jurgis Pralgauskis > Don't worry, be happy and make things better ;) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to sage-edu@googlegroups.com To unsubscribe from this group, send email to sage-edu+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---