thomthom / quadface-tools

Suite of tools for manipulating quad faces in SketchUp.
https://extensions.sketchup.com/en/content/quadface-tools
MIT License
18 stars 1 forks source link

Use an EntitiesProvider to create and fetch Quads #54

Closed thomthom closed 12 years ago

thomthom commented 13 years ago

Original report by me.


Create a collection class which is used to create and traverse quads in entities.

EntitiesProvider keeps a hash of known faces that's part of a Quad and returns the existing Quads when possible.

Use it to traverse meshes and offload validations so QuadFace's can be created quicker.

Make as much code as possible use EntitiesProvider and QuadFace to deal with quads.

thomthom commented 12 years ago

Refactor complete in <<changeset 59d3c3edef98>>

Some methods can still benefit from better integration with EntitiesProvider, but that can be done when they are worked on for other reasons.