-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation #197
Comments
@vfailla Thanks a lot for your feedback! We will try do our best to add more topics to Macaw documentation. Could you please let us know what kind of important features do you miss most at the moment? |
@vfailla Btw, have you checked out our posts on Macaw? If not yet, would definitely recommend you to take a look at them too: |
Hi @kayuri, thank you for your fast and kind reply. The first thing that would be great to have, is the ability of creating a Path where the same vertex can be connected to multiple vertices. In the attached image it is shown a three-steps process:
Below each step I reported both the Segment.data field and the PathSegmentType.
Thus, the Point with coordinates [600.0, 300.0] is repeated twice (see in the image the path segment list, Step01) As soon as I want to remove such a point from the drawing, I have to remove all of its occurrences from path segment list: it's possible and it also works, as you can see in step 3. This behavior is totally logical and could be avoided only if I have the possibility to use the same segment (i.e. [600.0, 300.0]) to originate multiple lines. An alternative could be to perform a sort of "purge" operation on the Path to remove all of the redundant segments... but the algorithm is not obvious and, moreover, I'm not so sure about performances. Another minor topic concerns the ability of adding more gestures (2-fingers tap, long pressure...) to a Locus (f.e. Path). This would be useful to allow the user to perform specific operation on a selected object. Finally it would be even greater if I find a simple way to convert a Macaw node to DXF Autocad format... but this is too much of course! LOL I will appreciate any suggestion concerning the above mentioned topics. Thank you, |
Hi @vfailla, apologize for my late reply. Discussed with team here and we think you can easily achieve it with a reasonably thin additional layer of vertices and edges. So, you you will have a set of vertices and set of edges which connect them. As soon as you will want to remove vertices you just remove it from the set and this will remove all the incoming or outgoing edges from your drawing. Edges and vertices thus will be represented as paths in Macaw's model, but edges/vertex management will be purely on user's/client's side. |
Yep, we will tackle this at some point. Can't tell when exactly at this moment but will get back to you soon.
At the moment you can use the following workaround to tackle this problem: add thicker transparent line and attach actions this transparent line instead. |
Hi again @kayuri, thank you for your suggestions that worked very well. Another boring issue I experienced is related to Node class (or to its parent class "Drawable"). For example if I have:
then as soon as I change sceneOriginal, of course, sceneCopy will change as well. Thus I'm wondering whether a method already exists to perform a deep copy of a Node. Thank you in advance again. |
Hello Exyte team,
first of all I want to thank you all for this marvelous framework.
I'm developing a 2D CAD application for iPad and I decided to base it on Macaw.
Of course it seems Macaw have not been created explicitly for such a purpose (2D CAD) and so I'm going to implement all of the required core features to make Macaw work as a CAD framework.
For such a reason some documentation, even generic and "beta", could be very helpful, just to avoid reinventing the wheel: the main topics I'm interested in are, of course, Nodes, Paths and Arcs.
Moreover I feel like I'm missing some important features that could make my work easier.
As you surely understand, reverse engineering needs a lot of time (I'm still trying to better understand all of PathSegmentTypes! LOL), thus every documentation will be really appreciated.
Thank you in advance and congratulation for your great work.
Enzo
The text was updated successfully, but these errors were encountered: