CuraEngine requires libArcus which requires protobuf. Let's build them in turn.
Make sure python3 is Python 3.4 or higher.
Install utilities used by the build process:
| // This file was initially generated by Windows Terminal 1.0.1401.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |
| PS1='\[\033]0;${PWD//[^[:ascii:]]/?}\007\]' # set window title | |
| PS1="$PS1"'\n' # new line | |
| # ------------------------------------------------------ | |
| # PS1="$PS1"'\[\033[30m\]' # change to Black | |
| # PS1="$PS1"'\[\033[31m\]' # change to Red | |
| # PS1="$PS1"'\[\033[32m\]' # change to Green | |
| # PS1="$PS1"'\[\033[33m\]' # change to Yellow | |
| # PS1="$PS1"'\[\033[34m\]' # change to Blue | |
| # PS1="$PS1"'\[\033[35m\]' # change to Magenta |
| [core] | |
| autocrlf = input | |
| ignorecase = false | |
| [user] | |
| name = YourName | |
| email = [email protected] | |
| [alias] | |
| # flow | |
| ffs = flow feature start |
| alias g="git" | |
| alias dc="docker-compose" | |
| alias dev="cd /c/Dev" | |
| alias lk="walk" | |
| alias gp="git pull" | |
| alias nd="npm run dev" | |
| alias ns="npm run start" | |
| alias nb="npm run build" | |
| alias e2e="npm run e2e" | |
| alias cy="npx cypress open" |
CuraEngine requires libArcus which requires protobuf. Let's build them in turn.
Make sure python3 is Python 3.4 or higher.
Install utilities used by the build process:
| var getQueryString = function (queryString) { | |
| var query = (queryString || window.location.search).substring(1); // delete ? | |
| if (!query) { | |
| return false; | |
| } | |
| return _ | |
| .chain(query.split('&')) | |
| .map(function(params) { | |
| var p = params.split('='); | |
| return [p[0], decodeURIComponent(p[1])]; |
| /** | |
| Avoids conflicts between Bootstrap 2.3.2 and Bootstrap 3 | |
| Src: http://www.liferayui.com/bootstrap-3-liferay-6-2/ | |
| */ | |
| .signed-in .collapse { display:block; } | |
| .lfr-edit-layout-panel .collapse{ display:block; } | |
| .dockbar.navbar-static-top .collapse { display: block; } | |
| .navbar-inner .collapse{ display:block; } | |
| .dockbar-ready #wrapper { margin-top: 149px; } |
| // Usage: .card { @extend %shadow-2; } | |
| %shadow-1 { | |
| box-shadow: | |
| 0 1px 3px rgba(0,0,0,0.12), | |
| 0 1px 2px rgba(0,0,0,0.24); | |
| } | |
| %shadow-2 { | |
| box-shadow: | |
| 0 3px 6px rgba(0,0,0,0.16), |
| var Main = function(){ | |
| var vars = { | |
| }, | |
| init = function(){ | |
| //init | |
| }; | |
| return { | |
| init: function(){ init(); } |
| // _decimal.scss | MIT License | gist.github.com/terkel/4373420 | |
| // Round a number to specified digits. | |
| // | |
| // @param {Number} $number A number to round | |
| // @param {Number} [$digits:0] Digits to output | |
| // @param {String} [$mode:round] (round|ceil|floor) How to round a number | |
| // @return {Number} A rounded number | |
| // @example | |
| // decimal-round(0.333) => 0 |