1,144 questions
Advice
0
votes
0
replies
35
views
Cut text holes in polygon features in QGIS?
How to cut label text out of polygon features in QGIS so that the letters become real holes in the geometry? I have a polygon layer where each feature has a label, and I would like to convert the ...
Tooling
0
votes
1
replies
84
views
Python libraries or APIs for high-quality raster image to CorelDRAW (.cdr) conversion?
I am currently working on a Python project using the tools listed below:
import os
import sys
import argparse
import subprocess
import gradio as gr
import requests
import re
from typing import Tuple, ...
3
votes
1
answer
234
views
How to draw proper logic gate curves (OR/NOR shapes) using quadratic Bezier curves in wxWidgets? [closed]
I'm developing a digital circuit design and simulation tool similar to Logisim, and I'm struggling immensely to render the distinctive curved shape of logic gates like OR/NOR gates. Despite numerous ...
0
votes
0
answers
89
views
How should I go about generating a height/elevation map for a procedurally generated map?
I'm currently working on a personal project on making a procedural map generator. The way it currently is working is not the most intuitive, it's three different scripts all importing from each other, ...
0
votes
1
answer
129
views
PNG image to vector graphic conversion method with recognition of 1px lines?
I am trying to find a way to convert a .png image with 1px lines to a vector file. The issue I am having is that my approaches are very inconsistent due to the thin lines I am trying to recognize.
One ...
3
votes
1
answer
201
views
How to get the centerline of a character using Javascript?
I want to extract the centerline of a character, through client-side JavaScript, from .ttf (TrueType Fonts). TrueType fonts store characters as 2 paths, an inner and outer paths. However, I need the ...
0
votes
0
answers
64
views
streamplots with pyqtgraph?
Is there any function similar to matplotlib.pyplot.streamplot in pyqtgraph? I am using a UI for data analysis and would really benefit if I could overplot it with streamlines. Unfortunately, all I ...
2
votes
1
answer
102
views
How to implement illustrator's ability to identify closed paths with svg
I am making a website that helps making kufi typography art. Kufi is basically based on grids. it varies by the way the grid is constructed.
regular square grid circular grid
before, I used to make ...
0
votes
0
answers
504
views
How to Import a Complex SVG into MS Word Without Losing Vector Quality?
I created a complex SVG file using Matplotlib (105k data points and 16 MB), and I want to import it into an MS Word document while retaining its vector quality.
However, when I try to insert the SVG ...
1
vote
1
answer
141
views
Dynamically zoomable vector image in QML
I have a vector graphics file (here a svg) that I would like to display in a window and be able to zoom in and out of at runtime (using CTRL +/-/0) without loosing quality. Unfortunately Qt seems to ...
3
votes
3
answers
144
views
SVG: How can I display multiple paths and rotate them around the center?
I am new to SVG.
I am trying to define a "template" with a path in defs and reuse it.
I want it the paths to rotate around the center with equal spacing between them
This is how far i got. ...
-1
votes
2
answers
194
views
Extract a PDF Layout to Image without chaging lineweight in python [closed]
I'm working on a project where I need to extract images from a PDF layout that was originally exported from AutoCAD. The layout contains detailed drawings, specifically of solar modules, and I need ...
1
vote
0
answers
137
views
How to make take-vector-screenshot work with PyCharm (under Ubuntu 22.04)?
My goal is to take vector screenshots of my Python development IDE.
I am using PyCharm community edition under Ubuntu 22.04.
I have the package gtk-vector-screenshot installed (see https://launchpad....
5
votes
1
answer
176
views
How to find the greatest possible euclidean distance we can achieve by moving using given set of vectors
That's a problem from Polish Olympiad in Informatics, called Pionek (PIO).
Given a set of not unique vectors, find the greatest possible euclidean distance in reference to (0,0) point you can achieve ...
0
votes
1
answer
173
views
Replacing raster images in a PDF with vector images
I'm looking to do the exact opposite of what this person wanted to do: Replacing vector images in a PDF with raster images
In other words, I want to take pdfs with a mix of raster and vector images ...