(NEW SCRIPT) Sketcher: Quickly Sketch Drawings on a Node #1496
Replies: 7 comments 5 replies
-
It will be very useful! Thanks! |
Beta Was this translation helpful? Give feedback.
-
Sketcher update 2023-10-28:
|
Beta Was this translation helpful? Give feedback.
-
Nice addon. Useful! Thank you. |
Beta Was this translation helpful? Give feedback.
-
News 2023-11-16:
Update 2023-11-16:
|
Beta Was this translation helpful? Give feedback.
-
Hi I-plasm I discovered that using Paint 3D it is working only with 2D images but not with 3D images, is it possible to extend it to 3D with Paint 3D? |
Beta Was this translation helpful? Give feedback.
-
Hi I-plasm. I didn't see your answer. Thank you for your explanations, I'll do it. |
Beta Was this translation helpful? Give feedback.
-
HI i-Plasm, I was trying to get your code to work for draw.io. Specifically, this one is the desktop version: https://github.com/jgraph/drawio-desktop Right now it only partially works. If I already make a diagram and save it as a .png it will work as long as I include in a copy of the diagram with it. I don't know what it's doing to make that happen but that is what I notice is the key. Images to show it working fine for diagram I save with copy: Images to show if I take a normal .png file with no extra attributes that I'm guessing draw.io adds: Fails and shows empty space which is the same thing that happens when I try to create a new drawing from sketcher on a node. I'm guessing I need to find something to attach to the .png file that your making inside the script so that draw.io can recognize it as editable. Unsure if it could cause errors/be risky but if it's a blank .png file I should hope it wouldn't be bad. Either way, just wondering if you have a suggestion before I dig deep into this. |
Beta Was this translation helpful? Give feedback.
-
Sketcher: quickly sketch drawings on a node
NOTE: Sketcher as a standalone script is now superseded by the Sketcher service bundle within IntelliFlow - an intelligent service-provider menu for Freeplane -. Any updates and maintainance will go toward the Sketcher IntelliFlow service bundle: #1534
Hello everybody!
I'd like to introduce the 'Sketcher' utility. It is a Freeplane IntelliFlow service for quickly sketching drawings on a node.
Select a node, call the script and a new blank image or an existing one will be opened in a external image editor. Changes to the image will be refreshed in your mindmap.
The external viewer
You may or may not specify a viewer. If the viewer is not specified or can not be successfully used, then the script will open the image with the default system image viewer.
Any viewer should work as long as it understands the syntax [my_viewer_binary] [image_filepath] for opening files. Examples of viewers are Gimp, MS Paint, or Drawing.
Instructions on specifying a viewer: https://github.com/i-plasm/freeplane-scripts/wiki/Configuring-Sketcher:-The-external-viewer
User Templates
Sketcher supports user-defined templates that help customize how sketcher creates images from scratch.
Users can add as many templates as desired, for instance:
for white background
for grey background
for grid paper
for a blank draw.io-editable image
Instructions for configuring templates: https://github.com/i-plasm/freeplane-scripts/wiki/Configuring-Sketcher:-Templates
Permissions
The following script permissions are required (set them in Preferences -> Plug-ins): 1- Permit File read; 2- Permit File write; 3- Permit to execute other applications
More specs
If a new image was created, it will be stored on the folder 'MyMapName_files', and this folder will be located on the folder containing the mindmap.
Get Sketcher as IntelliFlow service bundle: #1534
Feel free to check for updates and leave feedback! Thanks for the ideas given in this discussion: #593
Beta Was this translation helpful? Give feedback.
All reactions