select any other point for active tool or return back to 2.select the number of entities to find the imaginary snap point.So a kind of single shot activation would be appropriate I think. But possibly these imaginary points are not needed for all points of an action. Some tools need one point, some two and others even more. This can be drawing or modifying functions, so these features have to be implemented for all kind of tools and functions.Īnd copy/paste a possible implementation over and over for each entity and tool is not an acceptable solution. The user must activate this function, then select two entities and the resulting intersection or middle point must be sourced to the active function. They work more similar to trim function or tangent drawing tools. So these features need a new implementation. Also there would be a bunch of snap points for which it is not obvious to which entities they belong. In a complex drawing, finding imaginary intersection or middle points on each mouse move event, will end in drastic rise of computing time and therefor slow down GUI reaction time. Iterating the document, finding nearest entities and then acquire nearest snap point from activated snap functions.įor these new features we can't implement them the same way. They already do lots of work on each mouse move trigger. The snap functions work in background and are implemented in each entities code. We have no similar function in LibreCAD currently, both mentioned features don't work like common snap functions. Nailed, what I already meant on Zulip, that this may be more complex than it looks on first sight.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |