robbschiller / sketch-framer-3

The future is (almost) here

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sketch Framer 3

BEWARE: This plugin is not yet ready for human consumption.

3.0 is the new black. This is the home of v3 of the Sketch Framer plugin, for Sketch 3, to export to Framer 3.

How-to

Run this on the project folder to concatenate the multiple parts of the plugin into a single .sketchplugin file:

rake

This will generate an Export to Framer.sketchplugin file. This file won't be stored in the repo until we get all the issues fixed :)

TODO

  • hidden layers should remain hidden after export
  • hidden layers should have metadata visibility set to none
  • hide artboards others than the first
  • fix position for nested layers
  • fix position for layers with shadows
  • fix random crashes
  • backport Cemre's mask support
  • Optimization: export all assets in the same sandbox operation?
  • Export in a tmp folder, and pass it to Framer Generator so it moves the files to the right place
  • Close issues :)

Template Format:

{
	"id": 3,
	"name": "Background",
	"layerFrame": {
		"x": 0,
		"y": 0,
		"width": 320,
		"height": 568
	},
	"maskFrame": null,
	"image": {
		"path": "images/Background.png",
		"frame": {
			"x": 0,
			"y": 0,
			"width": 320,
			"height": 568
		}
	},
	"imageType": "png",
	"children": [

	],
	"modification": "1834086366"
}

About

The future is (almost) here


Languages

Language:JavaScript 96.9%Language:Ruby 3.1%