GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add quadractic and cubic Bezier curves to custom symbols language by joa-quim · Pull Request #9020 · GenericMappingTools/gmt

Conversation

@joa-quim

@joa-quim joa-quim commented May 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

As title says. The idea is to be able to convert SVG images, that use a lot of Bezier curves, into GMT custom symbols. I'm labeling this as WIP because I have this locally for some time and forgot the details and code starts to rotten

Assisted-by: Claude Sonnet4.6

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
joa-quim added 10 commits April 22, 2026 16:10
@joa-quim
Start implementing Bezier curves in custom symbols macro language
142197e
@joa-quim
Add code for the cubic Bezier.
befd27d
@joa-quim
Merge branch 'master' into customsymb-bezier
eb7c668
Merge branch 'master' into customsymb-bezier
@joa-quim
Merge branch 'master' into customsymb-bezier
10f2e0b
@joa-quim
Update table od custom symbol operators
0a61a7d
@joa-quim
Update Changelog
e4db698
@joa-quim
Add leaf.def custom symbol
ed694d9
@joa-quim
Add heart.def (uses cubic Bezier curves) custom symbol.
22dc5f2
@joa-quim
Add test for a Bezier quadratic custom symbol
564c780
@joa-quim
Add a custom symbol test with cubic Bezier curves
a74f054
@joa-quim

joa-quim commented May 15, 2026

Copy link
Copy Markdown
Member Author

The bezier_demo_cubic.sh test should produce this

cubic_demo
yvonnefroehlich reacted with laugh emoji anbj reacted with heart emoji
All reactions
  • 😄 1 reaction
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joa-quim
Replave grdmix and add 2 new ps baseline files
76f34ee
@joa-quim joa-quim changed the title WIP: Add quadractic and cubic Bezier curves to custom symbols language Add quadractic and cubic Bezier curves to custom symbols language May 17, 2026
@joa-quim
joa-quim merged commit b577914 into master May 18, 2026
9 of 19 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@joa-quim
joa-quim deleted the customsymb-bezier branch May 18, 2026 14:09
@Esteban82 Esteban82 added enhancement Improving an existing feature add-changelog Add PR to the changelog AI-assisted All (or most) of the code was written by Artificial Intelligence. labels May 18, 2026
@Esteban82

Esteban82 commented May 18, 2026

Copy link
Copy Markdown
Member

The bezier_demo_cubic.sh test should produce this

It works for me. I got this figure. Sorry by the delay.

cubic_demo
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joa-quim

joa-quim commented May 18, 2026

Copy link
Copy Markdown
Member Author

The images you have post lately all suffer from same issue, non visible.

https://private-user-images.githubusercontent.com/537321/593183065-a3cc5c85-f34c-42bc-ad61-dc74c537adfb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzkxMTQyMjgsIm5iZiI6MTc3OTExMzkyOCwicGF0aCI6Ii81MzczMjEvNTkzMTgzMDY1LWEzY2M1Yzg1LWYzNGMtNDJiYy1hZDYxLWRjNzRjNTM3YWRmYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNTE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDUxOFQxNDE4NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lODgyMTkwMzRmNTU2NzQ2YWU3NjMzYjc1YTRlNzVjNGJlM2RhNzVlZTE4ZDVmNjBmMWVlZWZiZGE2OTNiOTA5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.1-HfS1Xb7C_zMMmk-62B5TmgJXs7BJf_3852TSCIlf0

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Esteban82

Esteban82 commented May 18, 2026

Copy link
Copy Markdown
Member

The images you have post lately all suffer from same issue, non visible.

I didn't add any new image. I just cited the already post image. In my side looks fine.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joa-quim

joa-quim commented May 18, 2026

Copy link
Copy Markdown
Member Author

Hmm, I see a 404

image
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seisman seisman mentioned this pull request May 19, 2026
Fix execute permission of scripts #9027
Merged
@seisman

seisman commented May 19, 2026

Copy link
Copy Markdown
Member

The test/psxy/bezier_demo_quadratic.sh fails because qbezier_test.def doesn't exist:

+ ctest --output-on-failure --force-new-ctest-process -j4 --timeout 480 --rerun-failed
Test project /home/runner/work/gmt/gmt/build
    Start 1034: test/psxy/bezier_demo_quadratic.sh
1/1 Test #1034: test/psxy/bezier_demo_quadratic.sh ...***Failed    0.73 sec
Set GMT_SESSION_NAME = 80226
Error: RROR]: Could not find either custom symbol or EPS macro qbezier_test
Error: RROR]: Option -S: Parsing failure
ERROR: gmtest:90
memtrack errors: 0
exit status: 1
ERROR: bezier_demo_quadratic.sh:20
memtrack errors: 0
exit status: 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joa-quim

joa-quim commented May 19, 2026

Copy link
Copy Markdown
Member Author

Ok, added it directly on master (by mistake)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seisman

seisman commented May 19, 2026

Copy link
Copy Markdown
Member

The name qbezier_test.def is confusing. If it's only for testing purpose, it should not be added to share/custom.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seisman

seisman commented May 25, 2026

Copy link
Copy Markdown
Member

The name qbezier_test.def is confusing. If it's only for testing purpose, it should not be added to share/custom.

Ping @joa-quim

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joa-quim

joa-quim commented May 25, 2026

Copy link
Copy Markdown
Member Author

Yes, you're right. It should go to .gmt\cache but I always forget how to add files in there.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seisman

seisman commented May 25, 2026

Copy link
Copy Markdown
Member

Yes, you're right. It should go to .gmt\cache but I always forget how to add files in there.

Add it to https://github.com/GenericMappingTools/gmtserver-admin, then wait for a few hours.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joa-quim

joa-quim commented May 25, 2026

Copy link
Copy Markdown
Member Author

Done

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

add-changelog Add PR to the changelog AI-assisted All (or most) of the code was written by Artificial Intelligence. enhancement Improving an existing feature

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@joa-quim @Esteban82 @seisman
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.