- WW SketchCrawl 69. By Gustavo Oct 10, 2020 WorldWideSketchCrawl. Sketch from home, click on link below to read the announcement.
- The best products start with Sketch. Create, prototype, collaborate, and bring your ideas to life with the design platform used by over one million people — from freelancers, to the world’s largest teams.
The best products start with Sketch. Create, prototype, collaborate, and bring your ideas to life with the design platform used by over one million people — from freelancers, to the world’s largest teams. Oct 10, 2020 WW SketchCrawl 69. By Gustavo Oct 10, 2020 WorldWideSketchCrawl. Sketch from home, click on link below to read the announcement.
Released 21 May, 2019 – read release notes
Changes
URL Scheme to launch a plugin to a specific command
You can use the new URL scheme to target a particular command of your plugin:
You can also pass in params. Note that this is the second URL scheme. The first was to open a particular document with
sketch://path/to/file.sketch
.The action
HandleURL
will be triggerend when it is opened with the URL scheme above, including an action context containing three keys:url
The
NSURL
that triggered this action.path
A string containing everything after
sketch://plugin
, e.g. /my.plugin.identifier/my.command.identifier
.query
Essential anatomy 4 1 – 3d anatomy modeling engine. An object containing the query of the URL, e.g. for
sketch://plugin/my.plugin.identifier/my.command.identifier?foo=bar&baz=qux
, query will be:Usage
You’ll need to have manifest file setup properly to be able to trigger a function on the
HandleURL
Action:In JavaScript, implement the action handler as follows so that when the user navigates to the url
sketch://plugin/com.sketchapp.examples.log-message/log-message?foo=Hello%20World
a message will appear in the app with the text Hello World.Note that the user in this case will need to have the plugin installed and a document already open. You can also make a new document for the user like this:
The full plugin example can be found here.
Add isSelected
method on a CurvePoint
In case the user is currently editing a path, you can check if a curve point is selected using the
curvePoint.isSelected()
method.Usage
If the user is selecting a point of a shape you can check it with:
Here is an example for how you might use it in practice. Create and select a rectangle in your Sketch document.
getSelectedDocument()
previously threw an error without an open document, now returns undefined
instead
Babel would tranform
[nativeDocument] = NSApplication.sharedApplication().orderedDocuments()
assuming that it’s a proper array but it’s not, it’s an NSArray
so it would throw an error.This is a great addition with the URL example from earlier. We can confidently check if there is a current document open or not.
Usage
Improve consistency by deprecating Fill.fill
in favor of Fill.fillType
This was done to match
Border.fileType
and other types.Usage
Setting a fill is more consistent to setting a border.
Old
New
Sketch 55 2015 B
Some better logging of the prototype of wrapped objects
There was a bug in the
util.inspect
algorithm (which console uses) that makes it think the prototype of a wrapped object is a wrapped object and uses the code path for wrapped object. This has been fixed for better logging output.Related resources
See something wrong or incomplete? Improve this page.
Hi everyone, I have been searching for a lead but to no avail so I think I'm asking this one. I'm quite bothered why my sketchup 2015 won't run OpenGL mode with my Nvidia GTX660m on my laptop. It only runs on my integrated card (Intel HD4000) I have had no problems running it with the previous versions and I can even run it simultaneously with an older version and still have the older one running the high performance card.Things I've tried:
- Right click>Run with (High performance Card)
- Set Nvidia as default for sketchup in nvidia control panel
- Set Nvidia as default for all
- Disabling the intel hd4000 in device manager (crashed my display)
- Used Nvidia Optimus test to check the state of GPU (still OFF)
Sketch 55 2015 B
I can't 'visually' test the cards by enabling and disabling the openGL since disabling the OpenGL will run sketchup in the onboard graphics card (Microsoft GDI Generic 1.1)
Is this a bug? Because I could use the additional rendering power aside from the ram advantage from it
Laptop: msi ge60
![Sketch 55 2015 b Sketch 55 2015 b](https://designbump.com/wp-content/uploads/2015/07/Sugar-Skull-Tattoo-images.jpg)
i7 3630qm win 7 x64
16gb ram
2015
2014