How to use @freesewing/models - 4 common examples

To help you get started, we’ve selected a few @freesewing/models examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github freesewing / freesewing / packages / brian / dist / index.js View on Github external
var brian = new _freesewing2.default.pattern(patternConfig);

brian.draft = function () {
  var final = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;

  _back2.default.draft(brian, final);

  return brian;
};

exports.default = brian;

// This is not for inclusion in production

console.log(_models.manSize38);
brian.settings.measurements = _models.manSize38;

brian.draft();
console.log(brian.parts.backBlock.points);
github freesewing / freesewing / packages / brian / dist / index.js View on Github external
var brian = new _freesewing2.default.pattern(patternConfig);

brian.draft = function () {
  var final = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;

  _back2.default.draft(brian, final);

  return brian;
};

exports.default = brian;

// This is not for inclusion in production

console.log(_models.manSize38);
brian.settings.measurements = _models.manSize38;

brian.draft();
console.log(brian.parts.backBlock.points);
github freesewing / freesewing / packages / components / src / SampleConfigurator / index.js View on Github external
)
  }

  const sampleModels = models => {
    props.updateGist(
      {
        type: 'models',
        models
      },
      'settings',
      'sample'
    )
  }
  let antMan = {
    ant: {},
    man: withoutBreasts.manSize42
  }
  for (let m in withoutBreasts.manSize42) antMan.ant[m] = antMan.man[m] / 10

  return (
    <ul>
      <li>
        <h4>
          
        </h4>
        
      </li>
      <li>
        <h4>
          
        </h4>
        <ul style="{{"></ul></li></ul>
github freesewing / freesewing / packages / components / src / SampleConfigurator / index.js View on Github external
const sampleModels = models =&gt; {
    props.updateGist(
      {
        type: 'models',
        models
      },
      'settings',
      'sample'
    )
  }
  let antMan = {
    ant: {},
    man: withoutBreasts.manSize42
  }
  for (let m in withoutBreasts.manSize42) antMan.ant[m] = antMan.man[m] / 10

  return (
    <ul>
      <li>
        <h4>
          
        </h4>
        
      </li>
      <li>
        <h4>
          
        </h4>
        <ul style="{{">
          {props.config.measurements.map(m =&gt; (
            <li></li></ul></li></ul>

@freesewing/models

Body measurements data for a range of default sizes

MIT
Latest version published 12 months ago

Package Health Score

75 / 100
Full package analysis