Kam-Ming Mark Tam
Kam-Ming Mark Tam
``` form = Mesh() form.add_vertex(x=0., y=0., z=0.) form.add_vertex(x=10., y=0., z=0.) form.add_vertex(x=10.,y=10., z=0.) form.add_vertex(x=0., y=5., z=0.) form.add_vertex(x=0., y=10., z=0.) form.add_face([0, 1, 2]) form.add_face([0, 2, 3, 4]) # collapse edge form.collapse_edge(3, 4,...
for artists, and rhino objects... In order to make it more possible to use the current version of **unload_modules()** when working with a collection of modules and scripts (such as...
It would be great if the various compas.geometry methods (e.g. predicates, distance, etc) that take geometric information as arguments (e.g point, circles etc) can fully support the use of compas...
Designers often need to simultaneously visualise stand-alone geometries with COMPAS datastructures like Meshes or Networks (e.g. seeing the results of trimesh_pull_points). Would be great to bring the older plotter setup...
**Consider making the following insertions (as highlighted):**  **For the developers' copy-and-paste-convenience, the code has been reproduced here as text:** self._points_artists = [] if self._draw_points: for point in self.polyline: self._points_artists.append(self.plotter.add(point))...
Currently, **update_vertices()** just generically redraw the circles associated with each vertex of a mesh... not the vertices that, say, a user might have specified when **draw_vertices()** was initially called. Ideally,...
For those with multiple version of Rhinos installed, or Rhinos installed in odd directories, the current hard-coded _get_ironpython_lib_path_OS does not always work For instance... my Rhino 6 is installed inside...
``` (a, b) = [[0, 0, 0], [1, 0, 0]] (c, d) = [[1,-1, 0], [1, 1, 0]] from compas.geometry import is_intersection_segment_segment_xy is_intersection_segment_segment_xy((a, b), (c, d)) # prints True is_intersection_segment_segment_xy((a,...
Note: The method 'intersection_segment_segment' does not return a None, but rather a (None, None) when no intersections are present. Therefore, the if condition in 'intersection_segment_polyline' will cause a return of...