1
0
Fork 0

Merge pull request #6049 from BenJamesBen/hugo-front-dimensions

fix(hugo): Add missing dimension id attributes
This commit is contained in:
Joost De Cock 2024-02-14 17:48:20 +01:00 committed by GitHub
commit ecb6a2b43e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,46 +152,55 @@ function hugoFront({
// Paperless? // Paperless?
if (paperless) { if (paperless) {
macro('vd', { macro('vd', {
id: 'vFrontNeck',
from: points.cfRibbing, from: points.cfRibbing,
to: points.cfNeck, to: points.cfNeck,
x: points.cfNeck.x - 15, x: points.cfNeck.x - 15,
}) })
macro('vd', { macro('vd', {
id: 'vFrontAll',
from: points.cfRibbing, from: points.cfRibbing,
to: points.raglanTipFront, to: points.raglanTipFront,
x: points.cfNeck.x - 30, x: points.cfNeck.x - 30,
}) })
macro('vd', { macro('vd', {
id: 'vFrontSideSeam',
from: points.ribbing, from: points.ribbing,
to: points.armhole, to: points.armhole,
x: points.ribbing.x + 15 + sa, x: points.ribbing.x + 15 + sa,
}) })
macro('hd', { macro('hd', {
id: 'hFrontNeckhole',
from: points.cfNeck, from: points.cfNeck,
to: points.raglanTipFront, to: points.raglanTipFront,
y: points.raglanTipFront.y - 15 - sa, y: points.raglanTipFront.y - 15 - sa,
}) })
macro('hd', { macro('hd', {
id: 'hFrontArmhole',
from: points.raglanTipFront, from: points.raglanTipFront,
to: points.armhole, to: points.armhole,
y: points.raglanTipFront.y - 15 - sa, y: points.raglanTipFront.y - 15 - sa,
}) })
macro('hd', { macro('hd', {
id: 'hFrontPocketWidth',
from: points.cfRibbing, from: points.cfRibbing,
to: points.pocketTop, to: points.pocketTop,
y: points.cfRibbing.y + 15 + sa, y: points.cfRibbing.y + 15 + sa,
}) })
macro('hd', { macro('hd', {
id: 'hFrontPocketTip',
from: points.cfRibbing, from: points.cfRibbing,
to: points.pocketTip, to: points.pocketTip,
y: points.cfRibbing.y + 30 + sa, y: points.cfRibbing.y + 30 + sa,
}) })
macro('hd', { macro('hd', {
id: 'hFrontWidthFull',
from: points.cfRibbing, from: points.cfRibbing,
to: points.ribbing, to: points.ribbing,
y: points.cfRibbing.y + 45 + sa, y: points.cfRibbing.y + 45 + sa,
}) })
macro('vd', { macro('vd', {
id: 'vFrontPocket',
from: points.pocketHem, from: points.pocketHem,
to: points.pocketTop, to: points.pocketTop,
x: points.pocketTip.x + 15, x: points.pocketTip.x + 15,