This commit is contained in:
djerom
2022-07-16 17:42:31 +05:00
parent cf5956e248
commit 3337f7216e
3 changed files with 12 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ function pt(wopt, wwpt, rmm, ppu, style) {
}
function it(rmm, ppu, style) {
return SvgNodes.circle(rmm * ppu).add_style(style.wit);
return SvgNodes.circle(rmm * ppu).add_style(style);
}
module.exports = {

View File

@@ -27,7 +27,8 @@ function build_pt_layer(wells, settings, style) {
const wells_layer = corel_layer("wells");
const rings_layer = corel_layer("rings");
// Круги
rings_layer.append(wells.map((x) => well_ring.pt(x.wopt, x.wwpt, t2r(x.wlpt), ppu, style).move(x.lx, x.ly)));
rings_layer.append(wells.map((x) => well_ring.it(t2r(x.wwit), ppu, style.wit).move(x.lx, x.ly)));
rings_layer.append(wells.map((x) => well_ring.it(t2r(x.wsit), ppu, style.sit).move(x.lx, x.ly)));
// Знак скважины
wells_layer.append(